summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:17:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:17:53 +0000
commitfb0e2307af8397ecf0d40a1c787ba9ebed826234 (patch)
tree412e83f0b6d1be2bfe254b6c73dab4fe55a38abc /perl-install/detect_devices.pm
parent5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956 (diff)
downloaddrakx-backup-do-not-use-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar
drakx-backup-do-not-use-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.gz
drakx-backup-do-not-use-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.bz2
drakx-backup-do-not-use-fb0e2307af8397ecf0d40a1c787ba9ebed826234.tar.xz
drakx-backup-do-not-use-fb0e2307af8397ecf0d40a1c787ba9ebed826234.zip
(getModem) it always return an empy hash, thus confusing harddrake
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 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 {