From aaab5f13f11a2c1311edd952f3a5196c174636c2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 30 Dec 2023 14:15:05 -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 91bdfa8f..c8b50ae0 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -403,7 +403,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){ echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSOR} - Sensor is reporting data again" >> ${logtemp} rm -f ${PW_TMPFOLDER}/${SENSOR}-error.* fi - if [[ test -a ${PW_TMPFOLDER}/${SENSOR}-error.* ]]; then + if test -a ${PW_TMPFOLDER}/${SENSOR}-error.* ; then rm -f ${PW_TMPFOLDER}/${SENSOR}-error.* fi