summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2015-11-29 11:57:32 +0200
committerEvangelos Foutras <evangelos@foutrelis.com>2015-11-29 12:01:34 +0200
commit5a7890f0768810c81e32dcb31627eb41e2ee41fd (patch)
treedd270b6e848f242d56d3494f4b87d3c33e4bc34c /arch-nspawn.in
parentba45e06d3e7cb4547bf2de4ccf24aad69a3b31b6 (diff)
arch-nspawn: preserve systemd-nspawn's stderr
It is passed down to the container when stdin/stdout is not a tty; this is the case when archbuild's output is redirected to a pipe or file.
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 19f1410..357d950 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -96,7 +96,7 @@ copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
-exec ${CARCH:+setarch "$CARCH"} systemd-nspawn 2>/dev/null \
+exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \
--register=no \
"${mount_args[@]}" \