summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-19 21:41:00 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-01-20 18:55:56 -0500
commit2a836ca9703689ba05513c98fb293b91a186a9ac (patch)
tree87b9360ef9ada320f33af3e91978faa3cb7416b2
parent5c687f08caddf3c7d80dccb69093b91eff1ca92e (diff)
systemd: remove dead code
We only go to fail label if pam_pid <= 0. CID #1306746.
-rw-r--r--src/core/execute.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 0028730889..d70ba2be17 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -991,14 +991,8 @@ fail:
}
strv_free(e);
-
closelog();
- if (pam_pid > 1) {
- kill(pam_pid, SIGTERM);
- kill(pam_pid, SIGCONT);
- }
-
return err;
}
#endif