diff --git a/inc/status.inc b/inc/status.inc index 29effa0e..246bd71d 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -726,7 +726,7 @@ It was down for $(SHOW_TIME ${toterrtime})" end=`date +%s` runtime=$((end-start)) echo -e "Runtime: ${runtime}\n" - echo ${runtime} >> /opt/idssys/nodemgmt/status-check.scantimes + [ "${ST_ACTION}" == "report" ] && echo ${runtime} >> ${NM_LOGFOLDER}/status-check.scantimes } REPLCHECK(){