diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 42cdc56c..2771df7a 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -778,7 +778,7 @@ RUN_COMMAND(){ esac shift done - if [ "${nodetype}" == "ALL" ] || [ -n "${nodetype}" ]; then + if [ "${nodetype}" == "ALL" ] || [ -n ${nodetype} ]; then echo yes nodetype=ALL NT_HOSTS=ALL_HOSTS[@]