Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user