diff options
author | des <des@FreeBSD.org> | 2002-10-27 17:33:08 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-10-27 17:33:08 +0000 |
commit | 911ff37bf74a5a4a5ae413c85e9e858c49025047 (patch) | |
tree | a7f5754a3944c91a5a59ac9ee054a7969927875e /usr.bin | |
parent | 8dce82a882750733f55305198b3be26105268b20 (diff) | |
download | FreeBSD-src-911ff37bf74a5a4a5ae413c85e9e858c49025047.zip FreeBSD-src-911ff37bf74a5a4a5ae413c85e9e858c49025047.tar.gz |
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>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 0c52b7e..6d7b285 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -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) |