summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/mousedrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake
index 10e166c0d..3e5b2922f 100755
--- a/perl-install/standalone/mousedrake
+++ b/perl-install/standalone/mousedrake
@@ -31,7 +31,8 @@ if (!$mouse || !$::auto) {
my $name = $in->ask_from_treelistf('', _("Please, choose the type of your mouse."), '|',
sub { join '|', map { translate($_) } split '\|', $_[0] },
[ mouse::fullnames ],
- $mouse->{type} . '|' . $mouse->{name}) || goto begin;
+ $mouse->{type} . '|' . $mouse->{name});
+ $name or $::isEmbedded ? kill(USR1, $::CCPID) : $in->exit(0);
$mouse = mouse::fullname2mouse($name);
if ($mouse->{device} eq "usbmouse") {