From 33085d07e71ff226de89735ef9102739c20aebf5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 4 Jul 2006 12:07:29 +0000 Subject: (mirrors) fix garbaged error messages --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmdrake.pm') 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); -- cgit v1.2.1