aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-14 10:58:17 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-14 10:58:17 +0000
commitf870148a04dae35458c29f78ff082bf573ee8bcb (patch)
treed2889b086debb18052fff5f4f2e5f45b36d0ca86 /loginutils
parente356883ffb0c7300aa0312864ddf203a6d322d94 (diff)
downloadbusybox-f870148a04dae35458c29f78ff082bf573ee8bcb.tar.gz
A missing securetty file is not an error.
-Erik
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index cda29f187..3050c4c9c 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -324,10 +324,8 @@ static int check_tty ( const char *tty )
fclose(fp);
return 0;
}
- else {
- syslog ( LOG_WARNING, "cannot open securetty file.\n" );
- return 1;
- }
+ /* A missing securetty file is not an error. */
+ return 0;
}
#endif