Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-28 16:30:59 -06:00
parent 84d99485cd
commit adb4541045

View File

@@ -130,7 +130,7 @@ case "$1" in
elif [ "${srvc}" = "maxscale" ]; then SER='MaxScale'
else SER="${2}"
fi
echo -en "${SER}: "
echo -en "${SER}: "
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"