From 6c1a047834c524598ee87c2bc289a1cd472ba53e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Apr 2010 03:19:00 +0200 Subject: [PATCH] manager: mention to which unit a SIGCHLD belongs --- manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manager.c b/manager.c index ddac4984..6c73acf4 100644 --- a/manager.c +++ b/manager.c @@ -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); } -- 2.39.5