1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00

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

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