From 9a561a86d8820b262c65f41bf903c76be88d6336 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 19 Jul 2025 15:16:26 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 3f89e9fc..fdc36fd2 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -684,8 +684,10 @@ CHECKTEMP(){ done fi rm -f ${PW_TMPFOLDER}/.local.fanspeed.* - [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}script runtime: ${runtime}s" - [ ${REPORT} -eq 0 ] && [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" + if [ ${REPORT} -eq 0 ] + end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}script runtime: ${runtime}s" + [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" + fi } CHECKTEMPSENSOR(){