summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 011fb4f73..a9f50af4f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1908,7 +1908,7 @@ sub ask_mirror {
my $mirror = $o_url ? (find { $_->{url} eq $o_url } @$mirrors) || $give_url
#- use current time zone to select best mirror
- : mirror::nearest($in->{timezone}{timezone}, $mirrors);
+ : mirror::nearest($in->{timezone}{timezone}, $mirrors) || $give_url;
$in->ask_from_({ messages => N("Choose a mirror from which to get the packages"),
cancel => N("Cancel"),