summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-09-13 00:25:06 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-09-13 00:25:06 +0200
commit6b55282bd702afd9a36409f85d9cb4c608ada5e5 (patch)
tree61e589fccb81c71f34b18bd1786e916137638275
parent6a7dcdeff9dee3c3b1192e61ad8e5a58f2215db0 (diff)
downloaddevtools-6b55282bd702afd9a36409f85d9cb4c608ada5e5.tar.gz
devtools-6b55282bd702afd9a36409f85d9cb4c608ada5e5.zip
Revert "arch-nspawn: Hack to give the inner process a controlling terminal"
Whoops, this will of course mess with nspawn arguments passed to arch-nspawn.
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index d25fa3b..c55f498 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}"
+ "$@"