summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-rw-r--r--usr.bin/fetch/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 5b83869..6d88622 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -291,6 +291,8 @@ fetch(char *URL, const char *path)
/* common flags */
if (v_level > 1)
strcat(flags, "v");
+ if (v_level > 2)
+ fetchDebug = 1;
switch (family) {
case PF_INET:
strcat(flags, "4");
OpenPOWER on IntegriCloud