diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index c11734b3..ff0d9d7d 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -103,7 +103,7 @@ CHECKTEMP(){ else echo -e "${idsCL[Default]}" fi - if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ]; then + if [ "${temptype}" != "fans" ]; then DIVIDER . lightCyan 70 echo -en "${idsCL[Yellow]}Pulling data for '${SENSOR}' ... "