summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 8367c0bdd..de03702a9 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -256,8 +256,10 @@ sub probeUSB {
if ($@) {
$usb_interface = '';
} else {
- modules::load("usbkbd");
- modules::load("keybdev");
+ eval {
+ modules::load("usbkbd");
+ modules::load("keybdev");
+ };
}
} else {
$usb_interface = '';