aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-04-01 13:58:02 +0000
committerThierry Vignaud <tv@mandriva.org>2008-04-01 13:58:02 +0000
commitb896eb0c57b2ae9583442071c920f398885b618d (patch)
treed02831d0a8a1ae8ad3e5660547e05c57a6ba2dd7 /rpmdrake.pm
parent326173a35e9d1c3d8a5cde8380f48c6d841a076a (diff)
downloadrpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar
rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.gz
rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.bz2
rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.xz
rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.zip
(mirrors) better error message while downloading mirror list (#39675)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index da4a8570..eab07e7a 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -557,7 +557,7 @@ sub mirrors {
gtkflush();
},
);
- $res or do { c::set_tagged_utf8($res); die $res };
+ $res or die N("retrieval of [%s] failed", $file) . "\n";
return $canceled ? () : cat_($file);
});
my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')), 'distrib') || [] };