From 566baf6979dfcb8ed4e6c0aa67e8f988b696ad1a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 29 Jan 2019 20:44:08 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 53dfdb0f..8ad208ba 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -20,6 +20,8 @@ case "$1" in TESTT=$? echo "HERE: '${TEST}'-'${TESTT}'" + if elementIn "${2}" "${NODE_SERVICES[@]}" ; then echo skipping table: ${2}; fi; + if [ "$(containsElement "${2}" "${NODE_SERVICES[@]}")" = "1" ] && [ "$(containsElement "${2}" "${LOCAL_SERVICES[@]}")" = "1" ]; then echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}" exit 1