From 83c29df18c74a00a1cc979070b9f18e6e7a53744 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Dec 2024 18:27:16 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a5eaa04d..56cb2047 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -778,7 +778,7 @@ RUN_COMMAND(){ esac shift done - if [ "${nodetype}" == "ALL" ] || ; then + if [ "${nodetype}" == "ALL" ] || [ -n "${nodetype}" ]; then NT_HOSTS=ALL_HOSTS[@] NTS=(${NM_NODE_TYPES[*]}) elif [ "${nodetype}" != "" ]; then