summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-04-01 17:36:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-04-01 17:36:37 +0000
commit0a3ce529514c31085cfc99a617495bca2ca1ce25 (patch)
tree9e4f92cfa02b0dccb8baeec628d03c9f91001a0f /perl-install/harddrake
parent5ac2cea3ab124a057a6e8678658a6b11aa91ac89 (diff)
downloaddrakx-backup-do-not-use-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar
drakx-backup-do-not-use-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.gz
drakx-backup-do-not-use-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.bz2
drakx-backup-do-not-use-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.xz
drakx-backup-do-not-use-0a3ce529514c31085cfc99a617495bca2ca1ce25.zip
fix harddrake crash
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index f9290230f..1c480e11a 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -280,7 +280,7 @@ our @tree =
string => N("Joystick"),
icon => "joystick.png",
configurator => "",
- detector => sub { f(grep { $_->{description} =~ /Joystick/ }) },
+ detector => sub { f(grep { $_->{description} =~ /Joystick/ } @devices) },
checked_on_boot => 0,
},