aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_securetty/pam_securetty.c')
-rw-r--r--modules/pam_securetty/pam_securetty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pam_securetty/pam_securetty.c b/modules/pam_securetty/pam_securetty.c
index bd81ea5..78c4bd5 100644
--- a/modules/pam_securetty/pam_securetty.c
+++ b/modules/pam_securetty/pam_securetty.c
@@ -13,7 +13,6 @@
#define TTY_PREFIX "/dev/"
-
PAM_EXTERN int
pam_sm_acct_mgmt(pam_handle_t * pamh, int flags,
int argc, const char * argv[])
@@ -58,7 +57,6 @@ pam_sm_acct_mgmt(pam_handle_t * pamh, int flags,
* maybe it should be done here as well...
*/
-
if ( tty != NULL && (ttyinfo = getttynam(tty)) != NULL &&
(ttyinfo->ty_status & TTY_SECURE) != 0)
return (PAM_SUCCESS);