summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
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/data.pm
parent5ac2cea3ab124a057a6e8678658a6b11aa91ac89 (diff)
downloaddrakx-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar
drakx-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.gz
drakx-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.bz2
drakx-0a3ce529514c31085cfc99a617495bca2ca1ce25.tar.xz
drakx-0a3ce529514c31085cfc99a617495bca2ca1ce25.zip
fix harddrake crash
Diffstat (limited to 'perl-install/harddrake/data.pm')
-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,
},