qemush : la commande shell accepte des arguments

This commit is contained in:
Ahurac 2024-01-25 14:44:33 +01:00
parent 7fbc153a2b
commit d214fed810

View file

@ -140,7 +140,8 @@ public_rm() {
# Invoke bash as qemu user in its home directory # Invoke bash as qemu user in its home directory
public_shell() { public_shell() {
cd || return cd || return
exec bash -i set -- bash -i "$@"
exec "$@"
} }
# Output the content of an entrypoint, with coloration if on a virtual # Output the content of an entrypoint, with coloration if on a virtual