From 56def26da3e90e0e05c47e2cefea057c76b7c75e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Dec 2024 18:45:37 -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 15057f02..99023c56 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -779,7 +779,7 @@ RUN_COMMAND(){ shift done echo "NODETYPE1= '${nodetype}'" - if [ "${nodetype}" == "ALL" ] || [ -n ${nodetype} ]; then + if [ "${nodetype}" == "ALL" ] || [ -z ${nodetype+x} ]; then echo 1 nodetype=ALL NT_HOSTS=ALL_HOSTS[@]