diff options
-rw-r--r-- | perl-install/mouse.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 4ffcae23e..e4949913b 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -311,7 +311,9 @@ sub detect() { } else { log::l("no usb interface found for mice"); } - return { wacom => \@wacom, %$ps2_mouse }; + if ($ps2_mouse) { + return { wacom => \@wacom, %$ps2_mouse }; + } } #- probe serial device to make sure a wacom has been detected. |