diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4064cf56..b54a3b4c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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