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:
parent
1bc796d774
commit
eb87c5a73a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user