summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
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");