From: Lennart Poettering Date: Tue, 13 Apr 2010 00:10:17 +0000 (+0200) Subject: manager: fix printing of child process names X-Git-Tag: 0.git+20100605+dfd8ee-1~143 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15d5d9d972ec3054ebb88978118e976702a1afc3;p=systemd manager: fix printing of child process names --- diff --git a/manager.c b/manager.c index 7d288bde..36733b0e 100644 --- a/manager.c +++ b/manager.c @@ -1477,7 +1477,7 @@ static int manager_dispatch_sigchld(Manager *m) { if (si.si_pid <= 0) break; - if (si.si_code == CLD_EXITED && si.si_code == CLD_KILLED && si.si_code == CLD_DUMPED) { + if (si.si_code == CLD_EXITED || si.si_code == CLD_KILLED || si.si_code == CLD_DUMPED) { char *name = NULL; get_process_name(si.si_pid, &name);