Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-29 20:57:04 -06:00
parent 01c16c354e
commit 629001fbc7

View File

@@ -13,7 +13,7 @@ source /opt/idssys/nodemgmt/defaults.inc
case "$1" in
service)
if ! containsElement "${2}" "${NM_SERVICES[@]}" ; then
if containsElement "${2}" "${NM_SERVICES[@]}" ; then
echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}"
exit 1
fi