From 8693e1d9105657a2398bbba68e0414aa9b8014dc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 5 Dec 2023 20:23:48 -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 f9919beb..2fd406e1 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -417,7 +417,7 @@ STATUS(){ [ "${checkhostssl}" != "ok" ] && echo "$(date +%Y-%m-%d-%H-%M-%S) - ${nip} - ${NM_HOSTNAMES[${nip}]}[${nip}] - Node is down" >> ${NM_LOGFILE} else if [ ! -f ${NM_TMPFOLDER}/${nip}.errtime ]; then - + tmp=tmp fi toterrtime=$(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.errtime)) errtime=$(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.down))