Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-30 08:30:37 -06:00
parent 3b4d402619
commit 73e7067aca

View File

@@ -22,7 +22,7 @@ case "$1" in
echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}"
exit 1
fi
if [[ "start,stop,restart,enable,disable" != *"${3}"* ]] && [ "${2}" != "daemon-reload" ]; then
if [[ "start,stop,restart,reload,enable,disable" != *"${3}"* ]] && [ "${2}" != "daemon-reload" ]; then
echo -e "${idsCL[Red]}(${3}) is not an allowed service action.${idsCL[Default]}"
exit 1
fi