Update temp.inc.sh

This commit is contained in:
2023-12-30 14:20:19 -06:00
parent aaab5f13f1
commit 18cbe94b03

View File

@@ -402,8 +402,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
SENDNOTICE "${SENSOR} Data" "${SENSOR} is reporting data again"
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
elif [ "$(ls ${PW_TMPFOLDER}/${SENSOR}-error.*)" != "" ]; then
rm -f ${PW_TMPFOLDER}/${SENSOR}-error.*
fi