Update nodemgmt-scripts.sh
This commit is contained in:
@@ -13,8 +13,7 @@ source /opt/idssys/nodemgmt/defaults.inc
|
||||
|
||||
case "$1" in
|
||||
service)
|
||||
echo "HERE: ${NM_SERVICES[${2}]}"
|
||||
if [ "${NM_SERVICES[${2}]}" != "" ]; then
|
||||
if [ "${NM_SERVICES[${2}]}" = "" ]; then
|
||||
echo -e "${idsCL[Red]}(${2}) is not an allowed service.${idsCL[Default]}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user