From 8d89cc83b58a6fe20df7224ea2ea151450d3b9c3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 22 Jun 2025 09:50:05 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 49610bc1..8ae7432c 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -734,7 +734,7 @@ CHECKTEMPSENSOR(){ temp_c='' fi - elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] || "${PW_SENSOR_TYPE[${1}]}" == "remotesystem" ]; then + elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] || [ "${PW_SENSOR_TYPE[${1}]}" == "remotesystem" ]; then if [[ "${1}" = *"CPU"* ]]; then if ! temp_c=$(${SSHCMD} root@${PW_REMOTE_SENSORS[${1}]} vcgencmd measure_temp) ; then TIMEOUT=1; fi if [ "${temp_c}" != "" ]; then