munix: add -- before command args to prevent option parsing
muvm was interpreting command arguments like '-c' (from /bin/sh -c) as its own options. Adding '--' separates muvm options from the command and its arguments.
This commit is contained in:
parent
214d4c4500
commit
06a26e7dee
1 changed files with 1 additions and 1 deletions
2
munix
2
munix
|
|
@ -205,5 +205,5 @@ bwrap --unshare-all --share-net \
|
|||
-e container=munix \
|
||||
-e MICROVM_CLOSURE="$MICROVM_CLOSURE" \
|
||||
-e MICROVM_UID="$MICROVM_UID" -e MICROVM_GID="$MICROVM_GID" \
|
||||
-i -t "${MICROVM_COMMAND[@]}" \
|
||||
-i -t -- "${MICROVM_COMMAND[@]}" \
|
||||
13< /etc/resolv.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue