From 9f0e376ac72afc157ed9b2e60c3048287cf409ba Mon Sep 17 00:00:00 2001 From: des Date: Sat, 8 Jul 2006 14:34:56 +0000 Subject: [PATCH] Turn on libfetch debugging if -v was specified on the command line. MFC after: 2 weeks --- usr.sbin/pkg_install/lib/url.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/pkg_install/lib/url.c b/usr.sbin/pkg_install/lib/url.c index 43f2d81760ba..7820c5648c4a 100644 --- a/usr.sbin/pkg_install/lib/url.c +++ b/usr.sbin/pkg_install/lib/url.c @@ -111,6 +111,7 @@ fileGetURL(const char *base, const char *spec, int keep_package) } } + fetchDebug = (Verbose > 0); if ((ftp = fetchGetURL(fname, Verbose ? "v" : NULL)) == NULL) { printf("Error: FTP Unable to get %s: %s\n", fname, fetchLastErrString);