commit | 21278dff709d74c677ad18e967728b0578d52dd7 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Jun 25 12:15:46 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Jun 25 12:15:46 2008 +0000 |
tree | 63a1b148be91917cae9d97787885579c95511b2e | |
parent | f4cfa1bd5a4fb303939946db104a44bed4a380ad [diff] [blame] |
busybox: do not print help to fd 2, print it to fd 1 otherwise this can break scripts
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 86f8508..06a83e5 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c
@@ -638,6 +638,7 @@ /* 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"