diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-29 16:19:03 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-29 16:19:03 +0000 |
commit | 72f5f02184f8b1064e3dd9c8d33e65b64830340c (patch) | |
tree | 10ac9f2061d075cb440b42d4afc8689705b33fc5 | |
parent | 5cd6461b6fb51e8cf297a49074fce825e1960774 (diff) | |
download | busybox-w32-72f5f02184f8b1064e3dd9c8d33e65b64830340c.tar.gz busybox-w32-72f5f02184f8b1064e3dd9c8d33e65b64830340c.tar.bz2 busybox-w32-72f5f02184f8b1064e3dd9c8d33e65b64830340c.zip |
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
-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 1b24ceb57..9eb4190a9 100644 --- a/libbb/get_console.c +++ b/libbb/get_console.c | |||
@@ -86,10 +86,6 @@ int get_console_fd(void) | |||
86 | { | 86 | { |
87 | int fd; | 87 | int fd; |
88 | 88 | ||
89 | if (-1 == (fd = open_a_console("/dev/console"))) | ||
90 | return -1; | ||
91 | else | ||
92 | return fd; | ||
93 | fd = open_a_console(CURRENT_TTY); | 89 | fd = open_a_console(CURRENT_TTY); |
94 | if (fd >= 0) | 90 | if (fd >= 0) |
95 | return fd; | 91 | return fd; |