diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b6e1d16c..66a66530 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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`