aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-16 18:11:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-16 18:11:28 +0000
commit7820c891d88f3ae2913119817657512bf04bb58f (patch)
tree7e1a94e2af8a48f6cb4b740eb5a66f49ed21ff42
parent8185c937488111af37b464b05d9d8883d627c912 (diff)
downloadrpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar
rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.gz
rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.bz2
rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.xz
rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.zip
The software media manager shouldn't die when it can't add a media
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 1c254cd9..453b4a8b 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -561,7 +561,7 @@ sub update_sources {
my ($type, $media) = @_;
return if $type !~ /^(?:start|progress|end)$/ && @media && !grep { $_ eq $media } @media;
if ($type eq 'failed') {
- fatal_msg(N("Error retrieving packages"),
+ $urpm->{fatal}->(N("Error retrieving packages"),
N("It's impossible to retrieve the list of new packages from the media
`%s'. Either this update media is misconfigured, and in this case
you should use the Software Media Manager to remove it and re-add it in order