From 9425b08b1ba5510b882a25b59622642e6ff95a51 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 21 Mar 2005 15:34:32 +0000 Subject: help perl_checker --- perl-install/mouse.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 28afa68aa..f126c9cc0 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -292,7 +292,7 @@ sub detect { $modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') }; my @input_devices = cat_('/proc/bus/input/devices'); my $synaptics_mouse; - if (my $mouse_nb = grep { /^H: Handlers=mouse/ } @input_devices) { + if (my $mouse_nb = scalar grep { /^H: Handlers=mouse/ } @input_devices) { if (is_xbox()) { return fullname2mouse('Universal|Microsoft Xbox Controller S'); } -- cgit v1.2.1