From b73cfac202edafcdf9adc17bf97ceff827494eef Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Dec 2024 18:44:33 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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