summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index a4e1ec509..3864f8a06 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -975,7 +975,9 @@ risk!
#------------------------------------------------------------------------------
sub hasNetwork {
my ($o) = @_;
- $o->{netcnx}{type} && $o->{netc}{NETWORKING} ne 'no'
+ $o->{netcnx}{type} && $o->{netc}{NETWORKING} ne 'no' and return 1;
+ log::l("no network seems to be configured for internet ($o->{netcnx}{type},$o->{netc}{NETWORKING})");
+ 0;
}
#------------------------------------------------------------------------------