summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-21 14:21:29 +0000
committerdes <des@FreeBSD.org>2000-07-21 14:21:29 +0000
commitd88213abd91b5597a79af94a6e2cbcd6bcacd4e2 (patch)
tree321f325cbf863508af82300dbecb464deffcbf43 /usr.bin/fetch
parentc72af522a2b1811953231536027303a7dc9743d4 (diff)
downloadFreeBSD-src-d88213abd91b5597a79af94a6e2cbcd6bcacd4e2.zip
FreeBSD-src-d88213abd91b5597a79af94a6e2cbcd6bcacd4e2.tar.gz
Don't print summary in quiet mode.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index fd97d5c..cc49b9f 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -154,6 +154,9 @@ stat_end(struct xferstat *xs)
{
double delta;
double bps;
+
+ if (!v_level)
+ return;
gettimeofday(&xs->end, NULL);
OpenPOWER on IntegriCloud