From 7f36ce768838cba71d831bccfd4882b715e9f71e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 14 Feb 2024 22:21:22 -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 8feb0b49..57649c66 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -96,7 +96,7 @@ CHECKTEMP(){ echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}${idsCL[Default]}" else if [ "${avgdays}" != "noavg" ]; then - ([ "${avgdays}" == "" ] && avgdays=3d + [ "${avgdays}" == "" ] && avgdays=3d average=$(AVERAGETEMP ${SENSOR} ${avgdays}) echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}${idsCL[Default]}" else