aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-29 16:19:03 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-29 16:19:03 +0000
commita034d2bf241ff274045da380a5a0bb5d3c2a2f70 (patch)
tree10ac9f2061d075cb440b42d4afc8689705b33fc5
parent6d740c9dd208f0461ffa87d64d97f0c555648d08 (diff)
downloadbusybox-w32-a034d2bf241ff274045da380a5a0bb5d3c2a2f70.tar.gz
busybox-w32-a034d2bf241ff274045da380a5a0bb5d3c2a2f70.tar.bz2
busybox-w32-a034d2bf241ff274045da380a5a0bb5d3c2a2f70.zip
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
git-svn-id: svn://busybox.net/trunk/busybox@7293 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 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;