chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udevd: track killed event processes as failed
[elogind.git]
/
udevd.c
diff --git
a/udevd.c
b/udevd.c
index e1afb7622b115fe1519a9f5ae42481fde525532c..7978bdb08abd05c1e8eb49d6ae7c776b1e7fecd9 100644
(file)
--- 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);