diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-17 16:34:37 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-17 16:34:37 +0100 |
commit | 82de5983ab395df7f59ed53a51517a6066be3a57 (patch) | |
tree | b5bf9055ef992cc8957fae7e050a9fcfb853bb20 | |
parent | c249f66a70f9ea623205f27f7931727acbafba9e (diff) |
udevd: track killed event processes as failed
Thanks to Marco for catching this.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r-- | udevd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -705,6 +705,8 @@ static void reap_sigchilds(void) break; if (WIFEXITED(status)) status = WEXITSTATUS(status); + else if (WIFSIGNALED(status)) + status = WTERMSIG(status) + 128; else status = 0; udev_done(pid, status); |