Update nodemgmt-scripts.sh
This commit is contained in:
@@ -25,7 +25,7 @@ unset IFS
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
service)
|
service)
|
||||||
containsElement "${2}" "${NODE_SERVICES[@]}"
|
containsElement "${2}" "${NODE_SERVICES[@]}"
|
||||||
if [[ "start,stop,restart,enbale,disable" != *"${3}"* ]]; then
|
if [[ "start,stop,restart,enable,disable" != *"${3}"* ]]; then
|
||||||
echo -e "${idsCL[Red]}(${3}) is not an allowed service action.${idsCL[Default]}"
|
echo -e "${idsCL[Red]}(${3}) is not an allowed service action.${idsCL[Default]}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user