diff options
author | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-03 19:54:12 +0000 |
---|---|---|
committer | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-03 19:54:12 +0000 |
commit | de511ae573139ae26631d58743bffa60edc7d7aa (patch) | |
tree | 3f17625876da022b2126e0939e1af93a92c912b6 | |
parent | 86249d197da0b5447fe8bb31b5c2b9a24dc13e61 (diff) | |
download | busybox-w32-de511ae573139ae26631d58743bffa60edc7d7aa.tar.gz busybox-w32-de511ae573139ae26631d58743bffa60edc7d7aa.tar.bz2 busybox-w32-de511ae573139ae26631d58743bffa60edc7d7aa.zip |
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
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) | |||
325 | return 0; | 325 | return 0; |
326 | } | 326 | } |
327 | /* A missing securetty file is not an error. */ | 327 | /* A missing securetty file is not an error. */ |
328 | return 0; | 328 | return 1; |
329 | } | 329 | } |
330 | 330 | ||
331 | #endif | 331 | #endif |