From 968684ae56afe97cb8f50a82993cc7342eb3a9fb Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 5 Mar 2002 16:07:20 +0000 Subject: added log for hasNetwork (so that we can understand why installUpdates do nothing). --- perl-install/install_steps.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') 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; } #------------------------------------------------------------------------------ -- cgit v1.2.1