mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added last tests for printout error
This commit is contained in:
parent
f545e5d4e7
commit
dc925cd8b2
2
inxi
2
inxi
|
@ -3238,7 +3238,7 @@ local sample="
|
||||||
# print "tempunit: " tempUnit
|
# print "tempunit: " tempUnit
|
||||||
|
|
||||||
# if they are ALL null, print error message. psFan is not used in output currently
|
# if they are ALL null, print error message. psFan is not used in output currently
|
||||||
if ( cpuTempReal == "" && moboTempReal == "" && sysFanString == "" ) {
|
if ( cpuTempReal == "" && moboTempReal == "" && aFanReal[1] == "" && aFanReal[2] == "" && aFanReal[3] == "" && sysFanString == "" ) {
|
||||||
print "No active sensors found. Have you configured your sensors yet?"
|
print "No active sensors found. Have you configured your sensors yet?"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue