From 69b5756594452619acf5831a8fff173ec62ca83c Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Tue, 3 Dec 2002 19:54:12 +0000 Subject: [PATCH] A missing /etc/securetty is not an error when checking the tty name - the comment is right, but the code was wrong .. --- loginutils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loginutils/login.c b/loginutils/login.c index 3050c4c9c..4a7f13ae8 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -325,7 +325,7 @@ static int check_tty ( const char *tty ) return 0; } /* A missing securetty file is not an error. */ - return 0; + return 1; } #endif