diff --git a/inxi b/inxi index 2acd080..bf9b947 100755 --- a/inxi +++ b/inxi @@ -3630,14 +3630,16 @@ get_sensors_data() } } # need a case for no temps at all reported, like with old intels - else if ( temp1 == "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ - tempFanType=1 - } - else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp == "" ){ - tempFanType=1 - } - else if ( temp1 != "" && temp2 == "" && cpuTemp == "" && moboTemp != "" ){ - tempFanType=1 + else if ( temp2 == "" && cpuTemp == "" ){ + if ( temp1 == "" && moboTemp == "" ){ + tempFanType=1 + } + else if ( temp1 != "" && moboTemp == "" ){ + tempFanType=1 + } + else if ( temp1 != "" && moboTemp != "" ){ + tempFanType=1 + } } # then get the real cpu temp, best guess is hottest is real