summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-10-01 00:44:52 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-10-01 20:18:00 -0400
commit2abb50b7ad08094dd1e9c2eb3dca860685d56e8f (patch)
treeac0dd563757be73a358e71ae5a836ebb215582b0 /src/chroot-tools
parent96cccfa177b63cfc097bcc34cc74ce284c6a0656 (diff)
libremakepkg: Add a comment
This really messed me up while debugging, I don't want to fall for that again!
Diffstat (limited to 'src/chroot-tools')
-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
}