diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2926531b..3bab328d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -774,7 +774,7 @@ RUN_COMMAND(){ while [ $# -gt 0 ]; do case "${1}" in -nt|-nodetype) nodetype=${2^^};; - -cmd) RUNCMD="${2} ${3}";; + -cmd) RUNCMD="${2}";; esac shift done