summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index c55f498..d25fa3b 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -116,4 +116,4 @@ exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
--register=no --keep-unit --as-pid2 \
"${mount_args[@]}" \
- "$@"
+ /bin/bash -c 'exec </dev/console -- "$@"' bash "${1:-/bin/bash}" "${@:2}"