summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
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 7c53d5415..9db02e309 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -283,7 +283,7 @@ sub detect() {
my @wacom = probe_wacom_devices();
if (c::kernel_version() =~ /^\Q2.6/) {
- modules::get_probeall("usb-interface") and modules::load('hid');
+ modules::get_probeall("usb-interface") and eval { modules::load('hid') };
if (cat_('/proc/bus/input/devices') =~ /^H: Handlers=mouse/m) {
return fullname2mouse('Universal|Any PS/2 & USB mice', wacom => \@wacom);
}