busname: CLD_KILLED was used twice

This commit is contained in:
Lukas Nykryn 2014-07-25 10:44:27 +02:00
parent e05aa2e02b
commit deffddf1df
1 changed files with 1 additions and 1 deletions

View 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");