summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-10-27 17:33:08 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-10-27 17:33:08 +0000
commiteb87c5a73a37cdada3d5693eea1daca3882e2cb8 (patch)
treea7f5754a3944c91a5a59ac9ee054a7969927875e
parent1bc796d774d363ff46527720b335cee6a28c686c (diff)
Notes
-rw-r--r--usr.bin/fetch/fetch.c2
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)