From 2abb50b7ad08094dd1e9c2eb3dca860685d56e8f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 1 Oct 2018 00:44:52 -0400 Subject: libremakepkg: Add a comment This really messed me up while debugging, I don't want to fall for that again! --- src/chroot-tools/hooks-distcc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/chroot-tools/hooks-distcc.sh b/src/chroot-tools/hooks-distcc.sh index baa801b..d65fd1e 100644 --- a/src/chroot-tools/hooks-distcc.sh +++ b/src/chroot-tools/hooks-distcc.sh @@ -110,6 +110,10 @@ distcc_start_odaemon() { trap 'jobs -p | xargs -r kill --' EXIT "$_distcc_tool" odaemon "$copydir" & wait + # Redirecting to /dev/null here is important, + # because otherwise our stdout/stderr are + # connected to the caller's `|& indent` and + # that'll end up waiting for us. ) &>/dev/null & fi } -- cgit v1.2.2