summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-07-25 10:44:27 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-07-25 10:44:27 +0200
commitdeffddf1df29a5ed047feff3a0f2b765006fb71b (patch)
tree33bcd582a3f1649f05b9952bf6ba2e6fd1c1319e /src/core
parente05aa2e02ba35d8b3741dddb79af3c802308414b (diff)
busname: CLD_KILLED was used twice
Diffstat (limited to 'src/core')
-rw-r--r--src/core/busname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c
index d2c926b471..b3f7e0d5d5 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -763,7 +763,7 @@ static void busname_sigchld_event(Unit *u, pid_t pid, int code, int status) {
f = BUSNAME_FAILURE_EXIT_CODE;
else if (code == CLD_KILLED)
f = BUSNAME_FAILURE_SIGNAL;
- else if (code == CLD_KILLED)
+ else if (code == CLD_DUMPED)
f = BUSNAME_FAILURE_CORE_DUMP;
else
assert_not_reached("Unknown sigchld code");