From 6d6eebcafec81d696b621d8453b13d55a1f9be1d Mon Sep 17 00:00:00 2001 From: Sebastien Tricaud Date: Tue, 16 Nov 2004 14:27:40 +0000 Subject: Applied debian patches --- modules/pam_securetty/pam_securetty.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/pam_securetty') diff --git a/modules/pam_securetty/pam_securetty.c b/modules/pam_securetty/pam_securetty.c index 8abbcb94..3a9ae421 100644 --- a/modules/pam_securetty/pam_securetty.c +++ b/modules/pam_securetty/pam_securetty.c @@ -161,12 +161,10 @@ static int securetty_perform_check(pam_handle_t *pamh, int flags, int ctrl, fclose(ttyfile); if (retval) { - if (ctrl & PAM_DEBUG_ARG) { _pam_log(LOG_WARNING, "access denied: tty '%s' is not secure !", uttyname); - } - retval = PAM_AUTH_ERR; + retval = PAM_AUTH_ERR; } else { if ((retval == PAM_SUCCESS) && (ctrl & PAM_DEBUG_ARG)) { _pam_log(LOG_DEBUG, "access allowed for '%s' on '%s'", -- cgit v1.2.3