diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-14 10:58:17 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-14 10:58:17 +0000 |
commit | 2ada8d253e179e8e0289eeb5df4c23ba39ce6f53 (patch) | |
tree | d2889b086debb18052fff5f4f2e5f45b36d0ca86 /loginutils/login.c | |
parent | e19fd06c60c38f8011b912ac7b90f02cac9b4250 (diff) | |
download | busybox-w32-2ada8d253e179e8e0289eeb5df4c23ba39ce6f53.tar.gz busybox-w32-2ada8d253e179e8e0289eeb5df4c23ba39ce6f53.tar.bz2 busybox-w32-2ada8d253e179e8e0289eeb5df4c23ba39ce6f53.zip |
A missing securetty file is not an error.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@5921 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'loginutils/login.c')
-rw-r--r-- | loginutils/login.c | 6 |
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 ) | |||
324 | fclose(fp); | 324 | fclose(fp); |
325 | return 0; | 325 | return 0; |
326 | } | 326 | } |
327 | else { | 327 | /* A missing securetty file is not an error. */ |
328 | syslog ( LOG_WARNING, "cannot open securetty file.\n" ); | 328 | return 0; |
329 | return 1; | ||
330 | } | ||
331 | } | 329 | } |
332 | 330 | ||
333 | #endif | 331 | #endif |