Update temp.inc.sh

This commit is contained in:
2023-12-30 14:13:37 -06:00
parent 2fe6425311
commit f660da1404

View File

@@ -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