]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: be sensitive to another SIGCHLD ssi_codes
authorKarel Zak <kzak@redhat.com>
Wed, 5 Sep 2018 09:51:22 +0000 (11:51 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Sep 2018 09:55:21 +0000 (11:55 +0200)
commit27afe5016842c22d256ea9f88b598d637ca0df84
tree0118c0e826479f7595a174046de0f0159ea863f2
parent350f5c8df2cb6edbfb5bae95f00a9fff446d236c
script: be sensitive to another SIGCHLD ssi_codes

The current signalfd handler cares on CLD_EXITED only. It's pretty
insufficient as there is more situations (and codes) when child no
more running.

Addresses: https://github.com/karelzak/util-linux/issues/686
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c