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