Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-01 18:45:37 -06:00
parent 77934e32c8
commit 56def26da3

View File

@@ -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[@]