summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chroot-tools/hooks-distcc.sh4
1 files changed, 4 insertions, 0 deletions
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
}