mirror of https://github.com/mirror/busybox.git
When doing a 'wget -O -' turn on the quiet flag, lest the status bar
noise get mingled with the retrieved webpage. -Erik1_00_stable_10817
parent
ddb00545b7
commit
95a349f427
|
@ -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 $
|
||||
*/
|
||||
|
||||
|
||||
|
|
3
wget.c
3
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 $
|
||||
*/
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue