diff --git a/inc/power.inc.sh b/inc/power.inc.sh index dfe76a17..f01beac0 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -1447,9 +1447,8 @@ POWERLOGGER_SERVICE(){ else runEvery=${PW_MYSQL_LOG_INTERVAL_NORMAL} fi - runEvery=$((runEvery + 0)) echo "HERE1: ${runEvery}" - runEvery=$(expr ${runEvery} * 60) + runEvery=$((${runEvery}*60)) echo "HERE1: ${runEvery}" end=`date +%s`; runtime=$((end-start)) echo -e "script runtime: ${runtime}s"; echo "Sleeping for $(expr ${runEvery} - ${runtime})s"