From cab5a78d7cd86a2e9e5119d8823e18e45bf5c367 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 28 Apr 2014 19:07:29 +0000 Subject: [PATCH] branch one, sensors tests --- inxi | 2 -- 1 file changed, 2 deletions(-) diff --git a/inxi b/inxi index db48bb5..a303433 100755 --- a/inxi +++ b/inxi @@ -8295,7 +8295,6 @@ get_sensors_data() tempUnit=tempWorkingUnit } } - # note: can be cpu fan:, cpu fan speed:, etc. Some cases have no space before # $2 starts (like so :1234 RPM), so skip that space test in regex /^CPU(.*)[ \t]*([0-9]+)[ \t]RPM/ { @@ -8520,7 +8519,6 @@ get_sensors_data() if ( cpuTempReal != "" ) { cpuTempReal = cpuTempReal tempUnit } - # if they are ALL null, print error message. psFan is not used in output currently if ( cpuTempReal == "" && moboTempReal == "" && aFanMain[1] == "" && aFanMain[2] == "" && aFanMain[3] == "" && fanDefaultString == "" ) { print "No active sensors found. Have you configured your sensors yet?"