aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2011-03-19 17:20:52 +0000
committerOlivier Thauvin <nanardon@mageia.org>2011-03-19 17:20:52 +0000
commitff7bb71d749f6ca0e2f68cfb024fea73addc1bad (patch)
treebd0c2de768e520d7afa12e49ad1c4b85aa8c832a /lib
parentcb5e936e79850e29d9bb9cc670c059dbfe2c8c5d (diff)
downloadmgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar
mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.gz
mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.bz2
mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.tar.xz
mgamirrors-ff7bb71d749f6ca0e2f68cfb024fea73addc1bad.zip
- use wget in quiet mode
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/Mirrors/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Mirrors/DB.pm b/lib/MGA/Mirrors/DB.pm
index f8d1ac2..bbc638d 100644
--- a/lib/MGA/Mirrors/DB.pm
+++ b/lib/MGA/Mirrors/DB.pm
@@ -279,7 +279,7 @@ sub _check_url {
my ($fh, $filename) = tempfile();
close($fh);
my $cmd =
- $furi->scheme =~ /^http|ftp$/ ? "wget --no-check-certificate -nv -t 1 -T 4 -O $filename " . $furi->as_string :
+ $furi->scheme =~ /^http|ftp$/ ? "wget -q --no-check-certificate -nv -t 1 -T 4 -O $filename " . $furi->as_string :
$furi->scheme eq 'rsync' ? "rsync --timeout 4 -q " . $furi->as_string . " $filename" : '';
my $ok = (system($cmd) == 0);
unlink($filename);