summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-07 05:10:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-07 05:10:02 +0000
commit13b948be04dd996e7776dc7e02c04de47828d48a (patch)
tree1ea1e7cd3a6b68222cae4b4ca45194fb1da52ded /perl-install/network
parent66a954d4d1fa892e4d559d9e2c657cd09ef7029a (diff)
downloaddrakx-backup-do-not-use-13b948be04dd996e7776dc7e02c04de47828d48a.tar
drakx-backup-do-not-use-13b948be04dd996e7776dc7e02c04de47828d48a.tar.gz
drakx-backup-do-not-use-13b948be04dd996e7776dc7e02c04de47828d48a.tar.bz2
drakx-backup-do-not-use-13b948be04dd996e7776dc7e02c04de47828d48a.tar.xz
drakx-backup-do-not-use-13b948be04dd996e7776dc7e02c04de47828d48a.zip
(first_modem) fix crash at install time
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/modem.pm1
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}});
}