diff options
author | des <des@FreeBSD.org> | 2006-07-08 14:34:56 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2006-07-08 14:34:56 +0000 |
commit | 9f0e376ac72afc157ed9b2e60c3048287cf409ba (patch) | |
tree | 85fe0710d15eda6027c6b79fd9b1862e112a4981 /usr.sbin/pkg_install | |
parent | 42f2307385b539be42db57548e392b25b20089d1 (diff) | |
download | FreeBSD-src-9f0e376ac72afc157ed9b2e60c3048287cf409ba.zip FreeBSD-src-9f0e376ac72afc157ed9b2e60c3048287cf409ba.tar.gz |
Turn on libfetch debugging if -v was specified on the command line.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/lib/url.c b/usr.sbin/pkg_install/lib/url.c index 43f2d81..7820c56 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); |