From 025f5c5cca8961f5239b8fcc6f1613f2a585442f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 29 Jan 2019 11:58:31 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d6a66197..34b84bab 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -14,7 +14,7 @@ source /opt/idssys/nodemgmt/defaults.inc case "$1" in service) containsElement "${2}" "${NODE_SERVICES[@]}" - if [[ "start,stop,restart,enable,disable" != *"${3}"* ]]; then + if [[ "start,stop,restart,enable,disable" != *"${3}"* ]] && [ "${2}" != "reload-daemon" ]; then echo -e "${idsCL[Red]}(${3}) is not an allowed service action.${idsCL[Default]}" exit 1 fi