Don't complain about not knowing the remote file size when working in

quiet mode.

PR:		bin/37079
Submitted by:	Nicolas Rachinsky <list@rachinsky.de>
This commit is contained in:
Dag-Erling Smørgrav 2002-10-27 17:33:08 +00:00
parent 1bc796d774
commit eb87c5a73a

View File

@ -419,7 +419,7 @@ fetch(char *URL, const char *path)
goto success;
}
if (us.size == -1 && !o_stdout)
if (us.size == -1 && !o_stdout && v_level > 0)
warnx("%s: size of remote file is not known", path);
if (v_level > 1) {
if (sb.st_size != -1)