summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-27 14:43:30 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-27 14:43:30 +0000
commit722b9b857f647c272af3f87f6b45f0bf8586f02b (patch)
tree2cfa4479875962809639ff51fa652991d05adc51 /perl-install/standalone
parent8617c12236ef569f2be83f39b56909c31a579770 (diff)
downloaddrakx-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/standalone')
-rwxr-xr-xperl-install/standalone/mousedrake2
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});