summaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorEric Andersen2001-05-13 00:55:54 +0000
committerEric Andersen2001-05-13 00:55:54 +0000
commit95a349f427158f1e99bfd1d5534963d9cb55860d (patch)
tree32b637875510b666fec7ad31df258762695002e7 /networking/wget.c
parentddb00545b7fb84138a14a511def4526ac2bc0709 (diff)
downloadbusybox-95a349f427158f1e99bfd1d5534963d9cb55860d.zip
busybox-95a349f427158f1e99bfd1d5534963d9cb55860d.tar.gz
When doing a 'wget -O -' turn on the quiet flag, lest the status bar
noise get mingled with the retrieved webpage. -Erik
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c
index cb96e65..dfe97f5 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -234,6 +234,7 @@ int wget_main(int argc, char **argv)
*/
if (strcmp(fname_out, "-") == 0) {
output = stdout;
+ quiet_flag = TRUE;
} else {
output = xfopen(fname_out, (do_continue ? "a" : "w"));
}
@@ -777,7 +778,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.37 2001/05/09 19:15:46 kraai Exp $
+ * $Id: wget.c,v 1.38 2001/05/13 00:55:54 andersen Exp $
*/