projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd6461
)
Remove some unwanted code, patch from Holger Schurig, confirmed by vodz
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 29 Aug 2003 16:19:03 +0000
(16:19 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 29 Aug 2003 16:19:03 +0000
(16:19 -0000)
libbb/get_console.c
patch
|
blob
|
history
diff --git
a/libbb/get_console.c
b/libbb/get_console.c
index 1b24ceb57732703cddebbc0a85242d9bf4f62a3d..9eb4190a91ea2b17ecfe25ede0fad9e43fa4ead5 100644
(file)
--- 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;