diff options
-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 fe5f484cd..5487a7ca2 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -390,7 +390,7 @@ sub getSerialModem { modules::add_alias('serial', $serdev) if arch() =~ /ppc/ && $modem->{device}; my @devs = pcmcia_probe(); foreach (@devs) { $_->{type} =~ /serial/ and $modem->{device} = $_->{device} } - grep { if_(defined $_->{device}, $_) } @devs; + $modem; } sub getModem() { |