diff --git a/inxi b/inxi index adbdb11..3a77629 100755 --- a/inxi +++ b/inxi @@ -3038,6 +3038,7 @@ get_sensors_data() # there are some guesses here, and we will need a lot more data of # different systems before this can be trusted much. Note that there # is a hack here to handle cases where search term has 1 or 2 words with space + # note: using arrays starting at 1 for all fan arrays to make it easier overall /^(M\/B|MB|SYS) Temp/ { moboTemp=gensub( /\+(.+)/, "\\1", 1, $3 ) if ( $4 ~ /C|F/ && tempUnit == "" ){ @@ -3164,10 +3165,10 @@ get_sensors_data() # then the cpu fan speed if ( aFanReal[0] != "" ) { if ( tempFanType == 1 && aFanWorking[1] != "" ) { - aFanReal[0]=aFanWorking[1] + aFanReal[1]=aFanWorking[1] } else if ( tempFanType == 2 && aFanWorking[2] != "" ) { - aFanReal[0]=aFanWorking[2] + aFanReal[1]=aFanWorking[2] } } # then set mobo fan if missing