diff --git a/inc/status.inc b/inc/status.inc index 13d8601c..b97e4b24 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -423,9 +423,7 @@ It was down for $(SHOW_TIME $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${ ENTER2CONTINUE fi fi - end=`date +%s` - runtime=$((end-start)) - echo -e "Runtime: ${runtime}\n" + end=`date +%s`; runtime=$((end-start)); echo -e "Runtime: ${runtime}\n" [ "${STATUS_ACTION}" == "report" ] && echo "${log_start}~${runtime}~${REPLRUN}" >> ${NM_LOGFOLDER}/status-check.scantimes }