Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-01 18:27:16 -06:00
parent 32bb943ec6
commit 83c29df18c

View File

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