diff options
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 4cd2b60f..4a847ddb 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -606,7 +606,7 @@ by Mandriva Linux Official Updates.")), %options $path->down; $tree->get_selection->select_path($path); - $w->main && member($w->{retval}{sel}, map { $_->{url} } @mirrors) ? $w->{retval}{sel} : ''; + $w->main && return grep { $w->{retval}{sel} eq $_->{url} } @mirrors; } sub make_url_mirror { |