1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 06:25:25 +03:00

udevd: track killed event processes as failed

Thanks to Marco for catching this.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
Kay Sievers 2005-11-17 16:34:37 +01:00
parent c249f66a70
commit 82de5983ab

View File

@ -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);