commit | 72f5f02184f8b1064e3dd9c8d33e65b64830340c | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Fri Aug 29 16:19:03 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Fri Aug 29 16:19:03 2003 +0000 |
tree | 10ac9f2061d075cb440b42d4afc8689705b33fc5 | |
parent | 5cd6461b6fb51e8cf297a49074fce825e1960774 [diff] |
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
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 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;