mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
manager: mention to which unit a SIGCHLD belongs
This commit is contained in:
parent
d89e521ead
commit
6c1a047834
@ -1415,6 +1415,8 @@ static int manager_dispatch_sigchld(Manager *m) {
|
||||
if (!(u = hashmap_remove(m->watch_pids, UINT32_TO_PTR(si.si_pid))))
|
||||
continue;
|
||||
|
||||
log_debug("child %llu belongs to %s", (long long unsigned) si.si_pid, unit_id(u));
|
||||
|
||||
UNIT_VTABLE(u)->sigchld_event(u, si.si_pid, si.si_code, si.si_status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user