Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 10:33:04 -06:00
parent a1bfc5e775
commit dc35777568

View File

@@ -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