summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-07 03:19:00 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-07 03:19:00 +0200
commit6c1a047834c524598ee87c2bc289a1cd472ba53e (patch)
treef4c3c2602111cb6c4d75bed716f53af4b5c23af1
parentd89e521eadeccc17fd10b574106c0fcd9e9f9340 (diff)
manager: mention to which unit a SIGCHLD belongs
-rw-r--r--manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index ddac4984ac..6c73acf403 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);
}