Update temp.inc.sh

This commit is contained in:
2025-05-31 15:39:05 -05:00
parent ed8b5608e2
commit 9f06fb5c0b

View File

@@ -531,7 +531,7 @@ CHECKTEMP(){
fi
else
tmp="${spct}${temp_f}${GAUGESH}"
[ "${avgdays}" != "noavg" ] && spc1=`expr ${fws} - ${#tmp}` || spc1=`expr ${fws} - ${#tmp} + 5`
[ "${avgdays}" != "noavg" ] && spc1=`expr ${fws} - ${#tmp} + 1` || spc1=`expr ${fws} - ${#tmp} + 5`
c=0; spc=''; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -e "${spc}${idsCL[Default]}[${spcw}${idsCL[Yellow]}${temp_warn}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit}${GAUGESH}=>${idsCL[Default]} ]"
fi