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:
f4cfa1b
)
busybox: do not print help to fd 2, print it to fd 1
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Jun 2008 12:15:46 +0000
(12:15 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Jun 2008 12:15:46 +0000
(12:15 -0000)
otherwise this can break scripts
libbb/appletlib.c
patch
|
blob
|
history
diff --git
a/libbb/appletlib.c
b/libbb/appletlib.c
index 86f85081c8f125e9279909416e5b707fb4eefcd5..06a83e58dc10002f768c53e5fce3e29834be366c 100644
(file)
--- a/
libbb/appletlib.c
+++ b/
libbb/appletlib.c
@@
-638,6
+638,7
@@
static int busybox_main(char **argv)
/* leading tab and room to wrap */
output_width -= MAX_APPLET_NAME_LEN + 8;
+ dup2(1, 2);
full_write2_str(bb_banner); /* reuse const string... */
full_write2_str(" multi-call binary\n"
"Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko\n"