diff options
author | Glenn L McGrath | 2003-08-29 16:19:03 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-08-29 16:19:03 +0000 |
commit | 72f5f02184f8b1064e3dd9c8d33e65b64830340c (patch) | |
tree | 10ac9f2061d075cb440b42d4afc8689705b33fc5 /libbb/get_console.c | |
parent | 5cd6461b6fb51e8cf297a49074fce825e1960774 (diff) | |
download | busybox-72f5f02184f8b1064e3dd9c8d33e65b64830340c.zip busybox-72f5f02184f8b1064e3dd9c8d33e65b64830340c.tar.gz |
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
Diffstat (limited to 'libbb/get_console.c')
-rw-r--r-- | libbb/get_console.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c index 1b24ceb..9eb4190 100644 --- a/libbb/get_console.c +++ b/libbb/get_console.c @@ -86,10 +86,6 @@ int get_console_fd(void) { int fd; - if (-1 == (fd = open_a_console("/dev/console"))) - return -1; - else - return fd; fd = open_a_console(CURRENT_TTY); if (fd >= 0) return fd; |