From 911ff37bf74a5a4a5ae413c85e9e858c49025047 Mon Sep 17 00:00:00 2001 From: des Date: Sun, 27 Oct 2002 17:33:08 +0000 Subject: Don't complain about not knowing the remote file size when working in quiet mode. PR: bin/37079 Submitted by: Nicolas Rachinsky --- usr.bin/fetch/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/fetch') 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) -- cgit v1.1