Make use of proxy vars if set.

Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
This commit is contained in:
Guenter Knauf 2011-04-01 14:58:36 +02:00
parent e02c90dc19
commit 5eda4bf726
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ unless ($opt_n and -e $txt) {
print "Downloading '$txt' ...\n" if (!$opt_q);
my $ua = new LWP::UserAgent(agent => "$0/$version");
$ua->env_proxy();
$resp = $ua->mirror($url, $txt);
}