summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-27 14:19:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-27 14:19:00 +0000
commit0346f921ca0e6df17551d7f39feb23490d1705ea (patch)
treeb34341d0511df9a2d6800ad73106d2cabf2c5f6b
parent7c5084adfc6e722e9279cac7844fdefe0bd3a641 (diff)
downloaddrakx-backup-do-not-use-0346f921ca0e6df17551d7f39feb23490d1705ea.tar
drakx-backup-do-not-use-0346f921ca0e6df17551d7f39feb23490d1705ea.tar.gz
drakx-backup-do-not-use-0346f921ca0e6df17551d7f39feb23490d1705ea.tar.bz2
drakx-backup-do-not-use-0346f921ca0e6df17551d7f39feb23490d1705ea.tar.xz
drakx-backup-do-not-use-0346f921ca0e6df17551d7f39feb23490d1705ea.zip
fix crash when modem was not found
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 189cba20d..a1334a55c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -400,7 +400,7 @@ Take a look at http://www.linmodems.org"),
name => N("Please choose which serial port your modem is connected to."),
interactive_help_id => 'selectSerialPort',
data => sub {
- [ { varl=> \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
+ [ { val => \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
list => [ grep { $_ ne $o_mouse->{device} } (if_(-e '/dev/modem', '/dev/modem'), mouse::serial_ports()) ] } ],
},
post => sub {