diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2002-09-05 15:13:33 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2002-09-05 15:13:33 +0000 |
commit | adf4a072edd2d09dcc8bb2422355f63cb60ff54a (patch) | |
tree | 210ef2b210b3b9fd068071b811a39e1be6a4efb3 | |
parent | d29f1cc049c335f4b4cb0dc578fb7d47913f0fed (diff) | |
download | drakx-backup-do-not-use-adf4a072edd2d09dcc8bb2422355f63cb60ff54a.tar drakx-backup-do-not-use-adf4a072edd2d09dcc8bb2422355f63cb60ff54a.tar.gz drakx-backup-do-not-use-adf4a072edd2d09dcc8bb2422355f63cb60ff54a.tar.bz2 drakx-backup-do-not-use-adf4a072edd2d09dcc8bb2422355f63cb60ff54a.tar.xz drakx-backup-do-not-use-adf4a072edd2d09dcc8bb2422355f63cb60ff54a.zip |
- fix drakconnect broken modem detection
-rw-r--r-- | perl-install/network/modem.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index 8e6f445a7..9929d23ab 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -66,8 +66,8 @@ sub pppConfig { #- output: #- $modem->{device} : device where the modem were detected sub modem_detect_backend { - my $modem = @_; - my $mouse = {}; + my ($modem, $mouse) = @_; + $mouse ||= {}; $mouse->{device} = readlink "/dev/mouse"; my $serdev = arch() =~ /ppc/ ? "macserial" : "serial"; eval { modules::load($serdev) }; |