summaryrefslogtreecommitdiff
path: root/Services/SystemServer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Services/SystemServer/main.cpp')
-rw-r--r--Services/SystemServer/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Services/SystemServer/main.cpp b/Services/SystemServer/main.cpp
index fe355807ec..10cf54c9c0 100644
--- a/Services/SystemServer/main.cpp
+++ b/Services/SystemServer/main.cpp
@@ -47,7 +47,10 @@ static void sigchld_handler(int)
if (!pid)
return;
+#ifdef SYSTEMSERVER_DEBUG
dbg() << "Reaped child with pid " << pid << ", exist status " << status;
+#endif
+
Service* service = Service::find_by_pid(pid);
if (service == nullptr) {
// This can happen for multi-instance services.