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))