summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-25 23:19:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-25 23:19:45 +0000
commitab52d73b91002f6b81365711171978bb0ad39bc9 (patch)
tree19110d69b6eb5db3b6bece50b0e7bb1c24cc935a /perl-install/mouse.pm
parente38950a33c3505db7e79547622aa5946cfe88d5c (diff)
downloaddrakx-ab52d73b91002f6b81365711171978bb0ad39bc9.tar
drakx-ab52d73b91002f6b81365711171978bb0ad39bc9.tar.gz
drakx-ab52d73b91002f6b81365711171978bb0ad39bc9.tar.bz2
drakx-ab52d73b91002f6b81365711171978bb0ad39bc9.tar.xz
drakx-ab52d73b91002f6b81365711171978bb0ad39bc9.zip
no_comment
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 3366e0807..d942c54c2 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -150,7 +150,7 @@ sub serial_port2text {
sub read {
my ($prefix) = @_;
my %mouse = getVarsFromSh "$prefix/etc/sysconfig/mouse";
- add2hash_(\%mouse, fullname2mouse($mouse{FULLNAME}));
+ eval { add2hash_(\%mouse, fullname2mouse($mouse{FULLNAME})) };
$mouse{device} = readlink "$prefix/dev/mouse" or log::l("reading $prefix/dev/mouse symlink failed");
$mouse{nbuttons} = $mouse{XEMU3} eq "yes" ? 2 : $mouse{WHEEL} eq "yes" ? 5 : 3;
\%mouse;