summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorGlenn L McGrath2003-08-29 16:19:03 +0000
committerGlenn L McGrath2003-08-29 16:19:03 +0000
commit72f5f02184f8b1064e3dd9c8d33e65b64830340c (patch)
tree10ac9f2061d075cb440b42d4afc8689705b33fc5 /libbb
parent5cd6461b6fb51e8cf297a49074fce825e1960774 (diff)
downloadbusybox-72f5f02184f8b1064e3dd9c8d33e65b64830340c.zip
busybox-72f5f02184f8b1064e3dd9c8d33e65b64830340c.tar.gz
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
Diffstat (limited to 'libbb')
-rw-r--r--libbb/get_console.c4
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;