aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-07-04 12:07:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-07-04 12:07:29 +0000
commit33085d07e71ff226de89735ef9102739c20aebf5 (patch)
treef0253fdaeeafe3df70e335edbd64292fce85a78e
parent12ca44ab517108c69d7b3cbb9e282526099c4291 (diff)
downloadrpmdrake-33085d07e71ff226de89735ef9102739c20aebf5.tar
rpmdrake-33085d07e71ff226de89735ef9102739c20aebf5.tar.gz
rpmdrake-33085d07e71ff226de89735ef9102739c20aebf5.tar.bz2
rpmdrake-33085d07e71ff226de89735ef9102739c20aebf5.tar.xz
rpmdrake-33085d07e71ff226de89735ef9102739c20aebf5.zip
(mirrors) fix garbaged error messages
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index bf837af1..ab885718 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -487,7 +487,7 @@ sub mirrors {
unlink $mirrorslist;
urpm::cfg::mirrors_cfg();
my $res = curl_download::download($urpm::cfg::mirrors, $cachedir, sub {});
- $res and die $res;
+ $res and do { c::set_tagged_utf8($res); die $res };
require timezone;
my $tz = ${timezone::read()}{timezone};
my $distro_type = distro_type($want_base_distro);