diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-27 14:43:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-27 14:43:30 +0000 |
commit | 722b9b857f647c272af3f87f6b45f0bf8586f02b (patch) | |
tree | 2cfa4479875962809639ff51fa652991d05adc51 /perl-install | |
parent | 8617c12236ef569f2be83f39b56909c31a579770 (diff) | |
download | drakx-722b9b857f647c272af3f87f6b45f0bf8586f02b.tar drakx-722b9b857f647c272af3f87f6b45f0bf8586f02b.tar.gz drakx-722b9b857f647c272af3f87f6b45f0bf8586f02b.tar.bz2 drakx-722b9b857f647c272af3f87f6b45f0bf8586f02b.tar.xz drakx-722b9b857f647c272af3f87f6b45f0bf8586f02b.zip |
restore previous behaviour and exit early only in cancel case
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/mousedrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index a8a1d2feb..0cd5330d4 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -38,7 +38,7 @@ if (!$mouse || !$::auto) { sub { join '|', map { translate($_) } split '\|', $_[0] }, [ mouse::fullnames ], $mouse->{type} . '|' . $mouse->{name}); - $in->exit(0); + $name or $in->exit(0); my $mouse_chosen = mouse::fullname2mouse($name); $mouse = $mouse_chosen if !($mouse->{type} eq $mouse_chosen->{type} && $mouse->{name} eq $mouse_chosen->{name}); |