diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-12-02 16:31:45 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-12-23 18:56:45 +1100 |
commit | 5f770b1297ea88c999a65710ead199e0a46d8459 (patch) | |
tree | 966569a940e75f0ece40af67111265c0b8e565af /src/funcs/newgrp | |
parent | Release 0.5.11.2. (diff) | |
download | dash-5f770b1297ea88c999a65710ead199e0a46d8459.tar.gz dash-5f770b1297ea88c999a65710ead199e0a46d8459.zip |
jobs: Only block in waitcmd on first run
This patch ensures that waitcmd never blocks unless there are outstanding jobs. This could otherwise trigger a hang if children were created prior to the shell coming into existence, or if there are backgrounded children of other kinds (e.g., a here- document). Fixes: 6c691b3e5099 ("jobs: Only clear gotsigchld when waiting...") Reported-by: Michael Biebl <biebl@debian.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions