summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c2
1 files changed, 2 insertions, 0 deletions
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);