From 5a7890f0768810c81e32dcb31627eb41e2ee41fd Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Sun, 29 Nov 2015 11:57:32 +0200 Subject: 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. --- arch-nspawn.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[@]}" \ -- cgit v1.2.3-54-g00ecf