aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-12-03 19:54:12 +0000
committerRobert Griebl <griebl@gmx.de>2002-12-03 19:54:12 +0000
commit69b5756594452619acf5831a8fff173ec62ca83c (patch)
tree3f17625876da022b2126e0939e1af93a92c912b6 /loginutils
parent09adaca37d6bd67745c1c81c598ba25006f990b4 (diff)
downloadbusybox-69b5756594452619acf5831a8fff173ec62ca83c.tar.gz
A missing /etc/securetty is not an error when checking the tty name - the
comment is right, but the code was wrong ..
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
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 )
return 0;
}
/* A missing securetty file is not an error. */
- return 0;
+ return 1;
}
#endif