chiark / gitweb /
busname: CLD_KILLED was used twice
authorLukas Nykryn <lnykryn@redhat.com>
Fri, 25 Jul 2014 08:44:27 +0000 (10:44 +0200)
committerLukas Nykryn <lnykryn@redhat.com>
Fri, 25 Jul 2014 08:44:27 +0000 (10:44 +0200)
src/core/busname.c

index d2c926b..b3f7e0d 100644 (file)
@@ -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");