From 9dab4a07ae8be226a9f5a812ff648da410d93734 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 22:18:37 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){