From 82de5983ab395df7f59ed53a51517a6066be3a57 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 17 Nov 2005 16:34:37 +0100 Subject: [PATCH] udevd: track killed event processes as failed Thanks to Marco for catching this. Signed-off-by: Kay Sievers --- udevd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/udevd.c b/udevd.c index e1afb7622b..7978bdb08a 100644 --- a/udevd.c +++ b/udevd.c @@ -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);