From dc35777568e6d1726dc44bd6ec597c08ba9b85fb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 10:33:04 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index dabdf7fe..d8ac3fca 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -59,7 +59,7 @@ STATUS() { for srvc in "${NODE_SERVICES[@]}" do c=0; cw=26; spc='' - spc1=${cw}-${#REPL_DESC[${rcheck}]} + spc1=${cw}-${#NM_SERVICES[${srvc}]} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${NM_SERVICES[${srvc}]}$spc: " if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then