1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-09-18 10:26:18 +00:00

SystemServer: Put some debug spam behind #ifdefs

This commit is contained in:
Andreas Kling 2020-06-22 21:18:55 +02:00
parent 4dbbe1885f
commit 79d3c5723f
2 changed files with 7 additions and 0 deletions

View file

@ -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.