YA patch I forgot to commit last night.

This commit is contained in:
Dag-Erling Smørgrav 2002-03-06 15:23:18 +00:00
parent e98c156beb
commit c53d09b102

View File

@ -680,7 +680,7 @@ doit(union sockunion *fromp)
environ_pam = pam_getenvlist(pamh);
if (environ_pam)
export_pam_environment();
if ((retcode = pam_end(pamh, PAM_DATA_SILENT)) != PAM_SUCCESS)
if ((retcode = pam_end(pamh, 0)) != PAM_SUCCESS)
syslog(LOG_ERR|LOG_AUTH, "pam_end: %s", pam_strerror(pamh, retcode));
#endif /* USE_PAM */