diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-10-07 05:10:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-10-07 05:10:02 +0000 |
commit | 13b948be04dd996e7776dc7e02c04de47828d48a (patch) | |
tree | 1ea1e7cd3a6b68222cae4b4ca45194fb1da52ded /perl-install/network | |
parent | 66a954d4d1fa892e4d559d9e2c657cd09ef7029a (diff) | |
download | drakx-13b948be04dd996e7776dc7e02c04de47828d48a.tar drakx-13b948be04dd996e7776dc7e02c04de47828d48a.tar.gz drakx-13b948be04dd996e7776dc7e02c04de47828d48a.tar.bz2 drakx-13b948be04dd996e7776dc7e02c04de47828d48a.tar.xz drakx-13b948be04dd996e7776dc7e02c04de47828d48a.zip |
(first_modem) fix crash at install time
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/modem.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index 0af9d9ffa..18755d0cb 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -10,6 +10,7 @@ use network::tools; sub first_modem { my ($netc) = @_; + return "/mnt/root" if $::isInstall; first(grep { $_->{device} =~ m!^/dev! } values %{$netc->{autodetect}{modem}}); } |