summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-13 17:07:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-13 17:07:52 +0000
commit2b3e550e8329f1c87f86dee39a4bff177183b935 (patch)
tree220cf3e00d6923bd6d4468c331c1239ab91cd90b
parent48dc8c9b563b1d3f63689eb947bac9cb97bff90d (diff)
downloaddrakx-backup-do-not-use-2b3e550e8329f1c87f86dee39a4bff177183b935.tar
drakx-backup-do-not-use-2b3e550e8329f1c87f86dee39a4bff177183b935.tar.gz
drakx-backup-do-not-use-2b3e550e8329f1c87f86dee39a4bff177183b935.tar.bz2
drakx-backup-do-not-use-2b3e550e8329f1c87f86dee39a4bff177183b935.tar.xz
drakx-backup-do-not-use-2b3e550e8329f1c87f86dee39a4bff177183b935.zip
fix
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 5e817d82f..f21abc636 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -708,7 +708,7 @@ sub pcmcia_controller_probe() {
sub real_pcmcia_probe() {
return if $::testing;
- c::pcmcia_probe() || (pcmcia_controller_probe())[0]->{driver};
+ c::pcmcia_probe() || first(map { $_->{driver} } pcmcia_controller_probe());
}
sub pcmcia_probe() {