diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-10-23 08:52:25 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-10-25 23:28:38 +0000 |
commit | 69fbfd400c8000e7a7aeed399476c6d9c002a0bc (patch) | |
tree | 9b22bd760cbb452789a81253e28da984459aff44 /src/du.c | |
parent | 30e4b6e84b7e478121a645515ce891d29cc75105 (diff) | |
download | coreutils-69fbfd400c8000e7a7aeed399476c6d9c002a0bc.tar.xz |
timeout: don't orphan monitored programs if they ignore specified signals
* src/timeout.c (install_signal_handlers): Handle any user
specified signal, so that if it does not cause the child
to exit then we don't exit and orphan the child. Previously this
for example, would leave an orphan dd process running:
timeout -sUSR1 1s dd if=/dev/zero of=/dev/null
* NEWS: Mention the fix.
Diffstat (limited to 'src/du.c')
0 files changed, 0 insertions, 0 deletions