From c53d09b102f0c4a68364517e956d0db70ef47e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 6 Mar 2002 15:23:18 +0000 Subject: [PATCH] YA patch I forgot to commit last night. --- libexec/rshd/rshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index e3cdf98863c..626ed1112a3 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -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 */