From 127833f1131b5961697600778ff80cfe691949b3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Jul 2022 17:23:52 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 5e1ba52a..07ee2104 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1854,8 +1854,7 @@ DOWNLIST(){ if [[ $ditem == *"-"* ]]; then item=${NM_SERVICES[${ditem#*-}]}; else item='HOST DOWN'; fi - echo "HERE: ${FOLDER}/${ditem}.errtime" - #toterrtime=`date +%s`-$(stat -c %Y ${FOLDER}/${ditem}.errtime) + toterrtime=`date +%s`-$(stat -c %Y ${FOLDER}/${ditem}.errtime) c=0; spc='' spc1=${cw}-${#item}