diff --git a/inxi b/inxi index ef1f734..9710350 100755 --- a/inxi +++ b/inxi @@ -8399,17 +8399,24 @@ get_sensors_data() cpuTempReal=cpuTemp } } - else if ( tempFanType != "" ){ - if ( tempFanType == 1 ){ - cpuTempReal=temp1 + else { + if ( tempFanType != "" ){ + if ( tempFanType == 1 ){ + cpuTempReal=temp1 + } + else { + cpuTempReal=temp2 + } } else { - cpuTempReal=temp2 + if ( core0Temp != "" ) { + cpuTempReal=core0Temp + } + else { + cpuTempReal=temp1 + } } } - else { - cpuTempReal=temp1 - } # if all else fails, use core0/peci temp if present and cpu is null if ( cpuTempReal == "" ) { if ( core0Temp != "" ) {