Update nodemgmt-scripts.sh
This commit is contained in:
@@ -55,7 +55,7 @@ case "$1" in
|
||||
$NCMD systemctl $3 $2
|
||||
if [[ $(${NCMD} pgrep ${2} | wc -l) -gt "0" ]]; then
|
||||
echo -e "${idsCL[Green]}OK${idsCL[Default]}"
|
||||
elif [ "$3" = "Stop" ]; then echo -e "${idsCL[Red]}STOPPED${idsCL[Default]}"
|
||||
elif [ "$3" = "stop" ]; then echo -e "${idsCL[Red]}STOPPED${idsCL[Default]}"
|
||||
else echo -e "${idsCL[Red]}ERROR${idsCL[Default]}"
|
||||
fi
|
||||
nid=`expr $nid + 1`
|
||||
|
||||
Reference in New Issue
Block a user