aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_securetty/pam_securetty.c
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-08-24 03:06:11 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:25:43 -0800
commit78915f5a06936cc24cf7776c8b53d08b6ea3616c (patch)
tree6325216d4660f2a33d2161d71302b8c3f47c76e5 /modules/pam_securetty/pam_securetty.c
parentfdd6439782a15a1abe342044e07e5f7501ae73de (diff)
parent212b52cf29c06cc209bc8ac0540dbab1acdf1464 (diff)
downloadpam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.tar.gz
pam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.tar.bz2
pam-78915f5a06936cc24cf7776c8b53d08b6ea3616c.zip
merge upstream version 1.1.0
Diffstat (limited to 'modules/pam_securetty/pam_securetty.c')
-rw-r--r--modules/pam_securetty/pam_securetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_securetty/pam_securetty.c b/modules/pam_securetty/pam_securetty.c
index 9dbe9bc4..ec796d9e 100644
--- a/modules/pam_securetty/pam_securetty.c
+++ b/modules/pam_securetty/pam_securetty.c
@@ -152,7 +152,7 @@ securetty_perform_check (pam_handle_t *pamh, int ctrl,
retval = PAM_AUTH_ERR;
} else {
- if ((retval == PAM_SUCCESS) && (ctrl & PAM_DEBUG_ARG)) {
+ if (ctrl & PAM_DEBUG_ARG) {
pam_syslog(pamh, LOG_DEBUG, "access allowed for '%s' on '%s'",
username, uttyname);
}