summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2013-05-03 20:15:16 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2013-05-11 12:26:20 +0200
commita5bc6acf325900f2855e9f52377fb42633b75c6f (patch)
tree55a228d0271a1fe3964090d31e41cfd0e82bc2df
parent4937422fcfd7ad2b3babe7621f201ba4376ed4cd (diff)
downloaddevtools-a5bc6acf325900f2855e9f52377fb42633b75c6f.tar.gz
devtools-a5bc6acf325900f2855e9f52377fb42633b75c6f.tar.xz
arch-nspawn: Quiet systemd-nspawn again
systemd-nspawn always outputs some debug messages over stderr. Both stdout and stderr from inside the chroot are sent through a pty to stdout.
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index b3dfbfb..8ef39ed 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -98,7 +98,7 @@ copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
-exec ${CARCH:+setarch "$CARCH"} systemd-nspawn \
+exec ${CARCH:+setarch "$CARCH"} systemd-nspawn 2>/dev/null \
-D "$working_dir" \
--machine "${working_dir//\//-}" \
"${mount_args[@]}" \