diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 486715387..a51a09909 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -398,7 +398,7 @@ sub getSerialModem { eval { modules::load($serdev) }; probeSerialDevices(); - foreach ('modem', map { "ttyS$_" } (0..7)) { + foreach (map { "ttyS$_" } (0..7)) { next if $mouse->{device} =~ /$_/; next unless -e "/dev/$_"; hasModem("/dev/$_") and $modem->{device} = $_, last; |