1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

systemd: remove dead code

We only go to fail label if pam_pid <= 0.

CID #1306746.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-01-19 21:41:00 -05:00
parent 5c687f08ca
commit 2a836ca970

View File

@ -991,14 +991,8 @@ fail:
}
strv_free(e);
closelog();
if (pam_pid > 1) {
kill(pam_pid, SIGTERM);
kill(pam_pid, SIGCONT);
}
return err;
}
#endif