diff options
-rwxr-xr-x | edit-urpm-sources.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index ee0a2085..4a1a8e54 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -99,6 +99,7 @@ Is it ok to continue?", $rpmdrake::mandrake_release), want_base_distro => $want_base_distro, transient => $mainw->{real_window}, ) or return 0; + ref $mirror or return; my $m = $mirror->{url}; my $is_update = $mirror->{type} eq 'updates'; $m .= '/media/main/updates' if $is_update; |