aboutsummaryrefslogtreecommitdiff
path: root/libpam/pam_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpam/pam_end.c')
-rw-r--r--libpam/pam_end.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpam/pam_end.c b/libpam/pam_end.c
index 2226eaae..e46dd0c4 100644
--- a/libpam/pam_end.c
+++ b/libpam/pam_end.c
@@ -21,6 +21,10 @@ int pam_end(pam_handle_t *pamh, int pam_status)
return PAM_SYSTEM_ERR;
}
+#ifdef HAVE_LIBAUDIT
+ _pam_audit_end(pamh, pam_status);
+#endif
+
/* first liberate the modules (it is not inconcevible that the
modules may need to use the service_name etc. to clean up) */