From 3fbcb8c4a44b5c20f8431d59e105a150be22040f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 24 Feb 2024 10:39:33 -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 25c79932..b5274e03 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -150,7 +150,7 @@ CHECKTEMP(){ fi echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} ${idsCL[Default]}/${spca}${averagedisp}${GAUGESH}" fi - if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then + if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"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