From 5dfe9785647da7dacbe19fa2ebe9f6844e93de69 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 Apr 2024 14:54:42 -0500 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 45a2a068..c69f5a86 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -300,7 +300,7 @@ CHECKTEMP(){ reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}" echo -en "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}" - echo "HERE: ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old" + echo "HERE: $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)" if [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old ]; then if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then