diff --git a/defaults.inc b/defaults.inc index 997da490..0a8c36f0 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.6.31-02112024' +VERS='2.6.32-02132024' noheader=' update service dailytemp confsync -r -report ' diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 1bf0e328..74973f39 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -521,7 +521,7 @@ CHECKPOWER(){ fi fi if [ ${REPORT} -eq 0 ]; then - [ "${avgdays}" != "" ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s" + [ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s" [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" fi } diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 3a63628b..a69bc4c1 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -218,7 +218,7 @@ CHECKTEMP(){ done fi rm -f ${PW_TMPFOLDER}/.fanspeed.* - # [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s" + [ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}runtime: ${runtime}s" [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" }