diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 979ffc58..97d9dfd3 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}";; + -cmd) RUNCMD="${2} ${3}";; esac shift done