summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-01 15:33:51 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-01 15:33:51 +0000
commit8eff4c085d451c8b2720c78c3664976034f75d4d (patch)
tree87612b9f126b951a97841ca240014f39fd88517b /perl-install/install/any.pm
parentfe2f8abcd821db3bf6429855385f67786e30ae86 (diff)
downloaddrakx-8eff4c085d451c8b2720c78c3664976034f75d4d.tar
drakx-8eff4c085d451c8b2720c78c3664976034f75d4d.tar.gz
drakx-8eff4c085d451c8b2720c78c3664976034f75d4d.tar.bz2
drakx-8eff4c085d451c8b2720c78c3664976034f75d4d.tar.xz
drakx-8eff4c085d451c8b2720c78c3664976034f75d4d.zip
fix crash when detecting network connection with supplementary media
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index fce0e0274..cee100845 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -143,9 +143,7 @@ sub prep_net_suppl_media {
my ($o) = @_;
require network::tools;
- my (undef, $is_up, undef) = network::tools::get_internet_connection($o->{net});
-
- return if our $net_suppl_media_configured && $is_up;
+ return if our $net_suppl_media_configured && network::tools::has_network_connection();
$net_suppl_media_configured = 1;
#- install basesystem now