diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 46ef71bc..dee172d2 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -774,11 +774,12 @@ RUN_COMMAND(){ while [ $# -gt 0 ]; do echo "HERE: $1 $2" case "${1}" in - -nt|-nodetype) nodetype=${2^^};; + -nt) nodetype=${2^^};; -cmd) RUNCMD="${2}";; esac shift done + echo "NODETYPE1= '${nodetype}'" if [ "${nodetype}" == "ALL" ] || [ -n ${nodetype} ]; then echo 1 nodetype=ALL @@ -797,7 +798,7 @@ RUN_COMMAND(){ fi fi - echo "NODETYPE= '${nodetype}'" + echo "NODETYPE2= '${nodetype}'" echo "RUNCMD= '${RUNCMD}'" # for NTYPE in "${NTS[@]}"; do