From 2a150b8c6b9b6e9efc600e0821e176ba7ed2682a Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 17 Feb 2023 16:37:03 +0100 Subject: [PATCH] Fix bug preventing args to be passed to the client Bug introduced by ab9dab32947f10c009e30a0a446e8bd021d41988 It was not possible to pass args anymore, e.g. `pm3 -l myscript.lua` --- pm3 | 1 + 1 file changed, 1 insertion(+) diff --git a/pm3 b/pm3 index 52a8ffcc1..e418a3103 100755 --- a/pm3 +++ b/pm3 @@ -446,6 +446,7 @@ for ARG; do CMD "$@" exit $? fi + set -- "$@" "$ARG" done if [ "$1" == "--list" ]; then