diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 754b831f..c11734b3 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -69,7 +69,7 @@ CHECKTEMP(){ if [ "${search}" == "" ] || [[ "${SENSOR,,}" = *"${search,,}"* ]]; then - if ([ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ] || [ "${temptype}" == "fans" ]) && [ "${temptype}" != "sensors" ]; then + if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ] && [ "${temptype}" != "sensors" ]; then vHOSTiDRACIP=${PW_HOST_IDRACS[${SENSOR}]} vHOSTIP=${PW_HOST_ADDRESSES[${SENSOR}]} vHOSTNAME=${PW_ESXI_HOST_NAMES[${vHOSTiDRACIP}]}