aboutsummaryrefslogtreecommitdiff
path: root/libexec/rshd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rshd')
-rw-r--r--libexec/rshd/rshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index e3cdf98863c0..626ed1112a31 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 */