YA patch I forgot to commit last night.

This commit is contained in:
des 2002-03-06 15:23:18 +00:00
parent 2ca91806af
commit 21be2fe304

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 */