aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6088110c..d316730d 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
- edit-urpm-sources:
o do not use the same shortcut for "Add a specific "media mirror"
and "_Add a custom medium" menu entries (#46027)
+ o honnor canceling when the user refused to access the network when
+ adding a specific mirror from the menubar (#46027)
Version 5.7 - 11 February 2009, Thierry Vignaud
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 14e07fac..1a1899a3 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -604,7 +604,7 @@ sub choose_mirror {
my ($urpm, %options) = @_;
delete $options{message};
my @transient_options = exists $options{transient} ? (transient => $options{transient}) : ();
- warn_for_network_need($options{message}, %options);
+ warn_for_network_need($options{message}, %options) or return;
my @mirrors = eval { mirrors($urpm, $options{want_base_distro}) };
my $error = $@;
if ($error) {