From 2f89ea5ec9c3efe9e96ff2decf12081a94a35b5a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 11 Feb 2024 13:27:37 -0600 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 7bec5b2a..5d9a5229 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -362,7 +362,7 @@ CHECKTEMPSENSOR(){ echo -en "${idsCL[Yellow]}Sensor Offline${idsCL[Default]}" fi [ "${average}" != "" ] && echo -en " /${spca}${averagedisp}${GAUGESH}" - if [ "${average}" != "" ] || ( "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${1}" != *"FAN"* ]]; then + if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${1}" != *"FAN"* ]]; then tmp="${spct}${temp_f_disp}${GAUGESH}" [ "${average}" != "" ] && fws=11 || fws=21 c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done