diff options
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 48bc6392..aea565ef 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1759,8 +1759,7 @@ sub try__maybe_mirrorlist { my ($urpm, $medium, $is_a_probe, $try) = @_; if ($medium->{mirrorlist}) { - $medium->{allow_metalink} //= urpm::download::use_metalink($urpm, $medium); - if ($medium->{allow_metalink}) { + if (urpm::download::use_metalink($urpm, $medium)) { #- help things... _pick_mirror_if_needed($urpm, $medium, 'allow-cache-update'); |