From 5d8dbb2e2667cb54b0c86b246817bbbfc9625ace Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 20:59:32 -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 ebcc8a73..77a4c334 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -171,7 +171,6 @@ STATUS(){ # echo "HERE: $checkhost - $checkhostssl" if [ "${checkhost}" != "false" ] && [ "${checkhostssl}" == "ok" ]; then if [ "${ST_ACTION}" != "check" ]; then - [ "${ST_ACTION}" != "check" ] && echo -en "\033[1A\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}" if ([ "${ST_ACTION}" == "report" ] && [ "${2}" == "email" ]) || [ "${ST_ACTION}" != "report" ]; then if [ "${NTYPE}" == "OFW" ]; then uptime=$(${NCMD} uptime | awk '{print $3}' | cut -d, -f1) @@ -187,6 +186,7 @@ STATUS(){ uptime=$(${NCMD} uptime -p) fi + [ "${ST_ACTION}" != "check" ] && echo -en "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}" echo -e "${idsCL[LightCyan]} - ${uptime} ${idsCL[LightYellow]}${LH}${idsCL[Default]}" else echo -e "${idsCL[Default]}"