diff --git a/pm3 b/pm3 index c0b0869b0..52a8ffcc1 100755 --- a/pm3 +++ b/pm3 @@ -441,6 +441,7 @@ done # if a port is already provided, let's just run the command as such for ARG; do + shift if [ "$ARG" == "-p" ]; then CMD "$@" exit $?