Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-29 20:44:08 -06:00
parent 055ac2beb3
commit 566baf6979

View File

@@ -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