diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-10-01 00:44:52 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-10-01 20:18:00 -0400 |
commit | 2abb50b7ad08094dd1e9c2eb3dca860685d56e8f (patch) | |
tree | ac0dd563757be73a358e71ae5a836ebb215582b0 | |
parent | 96cccfa177b63cfc097bcc34cc74ce284c6a0656 (diff) |
libremakepkg: Add a comment
This really messed me up while debugging, I don't want to fall for that
again!
-rw-r--r-- | src/chroot-tools/hooks-distcc.sh | 4 |
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 } |