diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-29 08:17:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-29 08:17:53 +0000 |
commit | fb0e2307af8397ecf0d40a1c787ba9ebed826234 (patch) | |
tree | 412e83f0b6d1be2bfe254b6c73dab4fe55a38abc | |
parent | 5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956 (diff) | |
download | drakx-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar drakx-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.gz drakx-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.bz2 drakx-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.xz drakx-fb0e2307af8397ecf0d40a1c787ba9ebed826234.zip |
(getModem) it always return an empy hash, thus confusing harddrake
-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 28898576c..8f982c94c 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -395,7 +395,7 @@ sub getSerialModem { sub getModem() { my @pci_modems = grep { $_->{driver} =~ /www.linmodems.org/ } probeall(0); - getSerialModem({}), @pci_modems; + grep { !is_empty_hash_ref($_) } getSerialModem({}), @pci_modems; } sub getSpeedtouch { |