diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 17:33:08 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 17:33:08 +0000 |
commit | eb87c5a73a37cdada3d5693eea1daca3882e2cb8 (patch) | |
tree | a7f5754a3944c91a5a59ac9ee054a7969927875e /usr.bin | |
parent | 1bc796d774d363ff46527720b335cee6a28c686c (diff) | |
download | src-eb87c5a73a37cdada3d5693eea1daca3882e2cb8.tar.gz src-eb87c5a73a37cdada3d5693eea1daca3882e2cb8.zip |
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>
Notes
Notes:
svn path=/head/; revision=106051
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 0c52b7eee4f2..6d7b28545c6e 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) |