]> andersk Git - openssh.git/blobdiff - monitor.c
- (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move
[openssh.git] / monitor.c
index 2f23669cdca7737591df6ba54e51d28d41ed68e4..cc0e0fcac03c9de8beb188f4bbf63c3a632f4e92 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -1547,6 +1547,11 @@ mm_answer_term(int sock, Buffer *req)
        /* The child is terminating */
        session_destroy_all(&mm_session_close);
 
+#ifdef USE_PAM
+       if (options.use_pam)
+               sshpam_cleanup();
+#endif
+
        while (waitpid(pmonitor->m_pid, &status, 0) == -1)
                if (errno != EINTR)
                        exit(1);
This page took 3.572881 seconds and 4 git commands to generate.