projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e356883
)
A missing securetty file is not an error.
author
Eric Andersen
<andersen@codepoet.org>
Thu, 14 Nov 2002 10:58:17 +0000
(10:58 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 14 Nov 2002 10:58:17 +0000
(10:58 -0000)
-Erik
loginutils/login.c
patch
|
blob
|
history
diff --git
a/loginutils/login.c
b/loginutils/login.c
index
cda29f1
..
3050c4c
100644
(file)
--- 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