From 5a15e6c1062b1e5f19a7c7931aa602ef02fee7a0 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 29 Jan 2019 10:03:10 -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 bc64b214..2f7873a4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -25,7 +25,7 @@ unset IFS case "$1" in service) 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]}" exit 1 fi