From 344678ce6da2f4b5e910e5fad57752682838548e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 10:39:43 -0600 Subject: [PATCH] Update defaults.inc --- defaults.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 7bb568da..e6ef506e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -71,10 +71,10 @@ DISP_HEADER(){ fi IFS=,; SERVICES2=(${SERVICES}); unset IFS for srvc in "${SERVICES2[@]}"; do - c=0; cw=22; spc='' + c=0; cw=18; spc='' spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done - echo -en "${NM_SERVICES[${srvc}]}$spc: " + echo -en " ${NM_SERVICES[${srvc}]}$spc: " if [ $(pgrep ${srvc} | wc -l) -gt "0" ]; then echo -e "${idsCL[Green]}Running${idsCL[Default]}" else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"