summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-13 02:10:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-13 02:10:17 +0200
commit15d5d9d972ec3054ebb88978118e976702a1afc3 (patch)
tree167f8591e111c6856d16ff37fe8b26dba8b55e37
parent80876c20f64f87765242bc35895977ab6a855729 (diff)
manager: fix printing of child process names
-rw-r--r--manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index 7d288bde60..36733b0eb5 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);