Update status.inc

This commit is contained in:
2023-11-25 20:58:12 -06:00
parent 9ceebe4d7e
commit 46efe3132a

View File

@@ -171,7 +171,7 @@ STATUS(){
# echo "HERE: $checkhost - $checkhostssl"
if [ "${checkhost}" != "false" ] && [ "${checkhostssl}" == "ok" ]; then
if [ "${ST_ACTION}" != "check" ]; then
[ "${ST_ACTION}" != "check" ] && echo -en "\033[K ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}"
[ "${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)