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