From d10b191c2a14befae8954f2bdaf48d1ab4643c34 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 29 Jan 2019 21:07:57 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9b52071d..805fe58c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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