diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 18:46:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 18:46:15 +0000 |
commit | d344311bfd8a2f4352000dccbe9c333ec0999622 (patch) | |
tree | be3b82ff03331cfa82eecea66b2d40714919915c /edit-urpm-sources.pl | |
parent | 20909e27e48c37890279f815584749ad6b16ad3c (diff) | |
download | rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.gz rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.bz2 rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.xz rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.zip |
(easy_add_callback) fix canceling "Add"
Diffstat (limited to 'edit-urpm-sources.pl')
-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; |