From 22d813f135fde501d39a42e5e1b8e2d954b080a5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 29 Jan 2019 20:45:33 -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 9c9ba8e2..86341481 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -20,7 +20,7 @@ case "$1" in TESTT=$? echo "HERE: '${TEST}'-'${TESTT}'" - if containsElement "${2}" "${NODE_SERVICES[@]}" ; then echo skipping table: ${2}; fi; + if ! containsElement "${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]}"