diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-13 17:07:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-13 17:07:52 +0000 |
commit | 2b3e550e8329f1c87f86dee39a4bff177183b935 (patch) | |
tree | 220cf3e00d6923bd6d4468c331c1239ab91cd90b | |
parent | 48dc8c9b563b1d3f63689eb947bac9cb97bff90d (diff) | |
download | drakx-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.pm | 2 |
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() { |