Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 20:42:15 -06:00
parent 711aab1c79
commit 8d8eff747b

View File

@@ -89,6 +89,7 @@ STATUS() {
c=0; cw=22; spc=''
spc1=${cw}-${#NM_SERVICES[${srvc}]}
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo "${NCMD}"
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
echo -e "${idsCL[Green]}Running${idsCL[Default]}"