From de511ae573139ae26631d58743bffa60edc7d7aa Mon Sep 17 00:00:00 2001 From: sandman Date: Tue, 3 Dec 2002 19:54:12 +0000 Subject: A missing /etc/securetty is not an error when checking the tty name - the comment is right, but the code was wrong .. git-svn-id: svn://busybox.net/trunk/busybox@6084 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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 -- cgit v1.2.3-55-g6feb