From 9543adf58807502439c2a805d23ffad4425ebcab Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 9 Dec 2012 14:30:03 +0000 Subject: (ask_network) fix a crash by lazy loading when needed services (Dave Hodgins, mga#8335) perl_checker didn't find it b/c it saw a chain of module require (but in reallity it's not here b/c only one or a couple subs actually lazy load most modules in that chain so the odds of it being done are 0 in practice :-( ) Xconfig::glx -> detect_devices -> fs::proc_partitions -> partition_table -> fs -> fs::remote::* -> network::network -> network::shorewall -> services --- perl-install/standalone/finish-install | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index fc91491cd..8a7483cb7 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -102,6 +102,7 @@ sub ask_country() { sub ask_network() { require network::tools; + require services; return if network::tools::has_network_connection(); #- test again connection after waiting for network-up service -- cgit v1.2.1