From 0fffeab7b2d6199169cff23957362eae287fdb24 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 21:51:53 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 8f936179..1bc7468b 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -108,7 +108,7 @@ STATUS(){ fi else if [ "${ST_ACTION}" != "check" ]; then - echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" + echo -e "${idsCL[LightGreen]}Running${idsCL[Default]}" fi if [ -f ${NM_TMPFOLDER}/${NODE_HOSTNAME}~${srvc}.down ]; then if [ -f ${NM_TMPFOLDER}/${NODE_HOSTNAME}~${srvc}.errtime ]; then @@ -262,7 +262,7 @@ STATUS(){ [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not running for $(SHOW_TIME ${toterrtime})${idsCL[Default]}" fi else - [ "${ST_ACTION}" != "check" ] && echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" + [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[LightGreen]}Running${idsCL[Default]}" if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.down ]; then [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.errtime ] && toterrtime=`date +%s`-$(stat -c %Y ${NM_TMPFOLDER}/${nip}~${srvc}.errtime) || toterrtime=`date +%s`-$(stat -c %Y ${NM_TMPFOLDER}/${nip}~${srvc}.down) SENDNOTICE "${NM_HOSTNAMES[${nip}]}[${nip}]" "${NM_SERVICE_DESC[${srvc}]} is back UP! It was down for $(SHOW_TIME ${toterrtime})" @@ -334,7 +334,7 @@ STATUS(){ # fi # else # if [ "${ST_ACTION}" != "check" ]; then - # echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" + # echo -e "${idsCL[LightGreen]}Running${idsCL[Default]}" # fi # if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.down ]; then # if [ -f ${NM_TMPFOLDER}/${nip}~${srvc}.errtime ]; then @@ -431,7 +431,7 @@ STATUS(){ fi else if [ "${ST_ACTION}" != "check" ]; then - echo -e "${idsST[Bold]}${idsCL[LightGreen]}Running${idsCL[Default]}${idsST[Reset]}" + echo -e "${idsCL[LightGreen]}Running${idsCL[Default]}" fi rm -f ${NM_TMPFOLDER}/${nip}~${docker}.* fi