From d3f08f1b508d4aa51d0ae6981cfd0620a88733f5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 28 Jul 2009 21:05:52 +0000 Subject: [PATCH] bug test --- inxi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/inxi b/inxi index 2eb06d3..254090b 100755 --- a/inxi +++ b/inxi @@ -3244,17 +3244,18 @@ local sample=" print "4:"aFanReal[2]":" print "5:"aFanReal[3]":" print "6:"sysFanString":" + print "::" # if they are ALL null, print error message. psFan is not used in output currently - if ( cpuTempReal == "" && moboTempReal == "" && aFanReal[1] == "" && aFanReal[2] == "" && aFanReal[3] == "" && sysFanString == "" ) { - print "No active sensors found. Have you configured your sensors yet?" - } - else { - # then build it: afanreals: 1 - cpu; 2 - mobo; 3 - psu - print cpuTempReal "," moboTempReal "," aFanReal[1] "," aFanReal[2] "," aFanReal[3] sysFanString - } +# if ( cpuTempReal == "" && moboTempReal == "" && aFanReal[1] == "" && aFanReal[2] == "" && aFanReal[3] == "" && sysFanString == "" ) { +# print "No active sensors found. Have you configured your sensors yet?" +# } +# else { +# # then build it: afanreals: 1 - cpu; 2 - mobo; 3 - psu +# print cpuTempReal "," moboTempReal "," aFanReal[1] "," aFanReal[2] "," aFanReal[3] sysFanString +# } } ' ) )