diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3a7465c3..9e4c5cef 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -772,9 +772,10 @@ BACKUP_UNIFINVR(){ RUN_COMMAND(){ while [ $# -gt 0 ]; do - case ${1} in + case "${1}" in + echo "HERE: $1 $2" -nt|-nodetype) nodetype=${2^^};; - -cmd) RUNCMD=${2};; + -cmd) RUNCMD="${2}";; esac shift done