From e3d681b9bd797c2794f89e432955240f95caa3ff Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 20:50:35 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 3715f453..4fa25a4e 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -155,7 +155,10 @@ STATUS(){ DIVIDER . lightYellow; echo -e "${idsST[Reset]}" fi for nip in "${!var}"; do - [ "${ST_ACTION}" != "check" ] && echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]} - Verifying Host...${idsST[Reset]}" + if [ "${ST_ACTION}" != "check" ]; then + echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}" + [ "${ST_ACTION}" != "report" ] && echo -en " - Verifying Host...$" + fi if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then NCMD=''; LH='- localhost' @@ -189,7 +192,7 @@ STATUS(){ fi [ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[White]} - ${uptime} ${idsCL[LightYellow]}${LH}${idsCL[Default]}" else - [ "${ST_ACTION}" != "check" ] && echo -e "\033[K\r ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}" + echo -e "${idsCL[Default]}" fi DIVIDER false lightCyan