Update nodemgmt-scripts.sh
This commit is contained in:
@@ -20,7 +20,7 @@ case "$1" in
|
|||||||
TESTT=$?
|
TESTT=$?
|
||||||
echo "HERE: '${TEST}'-'${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
|
if [ "$(containsElement "${2}" "${NODE_SERVICES[@]}")" = "1" ] && [ "$(containsElement "${2}" "${LOCAL_SERVICES[@]}")" = "1" ]; then
|
||||||
echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}"
|
echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user