From deffddf1df29a5ed047feff3a0f2b765006fb71b Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 25 Jul 2014 10:44:27 +0200 Subject: [PATCH] busname: CLD_KILLED was used twice --- src/core/busname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/busname.c b/src/core/busname.c index d2c926b471b..b3f7e0d5d5c 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");