diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index f9ace684..c8f1ec06 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -100,7 +100,7 @@ CHECKTEMP(){ fi if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "cpu" ]; then GAUGESH="'%" - elif [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${1}" = *"FAN"* ]]; then + elif [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]]; then GAUGESH="'R" else GAUGESH="°F"