From ff39b6acaa80f69dc7004bbc01681dd34e4dac18 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 16 Feb 2024 22:57:04 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index fc5b6b34..0f9d1cd3 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -523,7 +523,7 @@ CHECKPOWER(){ fi fi if [ ${REPORT} -eq 0 ]; then - [ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ]; then + if [ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ]; then modend=`date +%s`; modruntime=$((modend-modstart)); echo -e "${idsCL[Default]}runtime: ${modruntime}s" echo "END: ${modend}" fi