Fix bug preventing args to be passed to the client

Bug introduced by ab9dab3294
It was not possible to pass args anymore, e.g. `pm3 -l myscript.lua`
This commit is contained in:
Philippe Teuwen 2023-02-17 16:37:03 +01:00
commit 2a150b8c6b

1
pm3
View file

@ -446,6 +446,7 @@ for ARG; do
CMD "$@"
exit $?
fi
set -- "$@" "$ARG"
done
if [ "$1" == "--list" ]; then