From 61c9b4b200bedd05e8e0755decad8794017cc3c4 Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Mon, 2 Sep 2002 21:32:45 +0000 Subject: - network restart previous bug fixed --- perl-install/network/netconnect.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 385893763..82235e1e5 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -247,8 +247,8 @@ If you don't want to use the auto detection, deselect the checkbox. network::configureNetwork2($in, $prefix, $netc, $intf); my $network_configured = 1; - if ($netconnect::need_restart_network && $::isStandalone and ($::expert or $in->ask_yesorno(_("Network configuration"), - _("The network needs to be restarted"), 1))) { + if ($netconnect::need_restart_network && $::isStandalone and ($::expert or ($in->ask_yesorno(_("Network configuration"), + _("The network needs to be restarted"), 1) or goto step_2))) { #- run_program::rooted($prefix, "/etc/rc.d/init.d/network stop"); if (!run_program::rooted($prefix, "/etc/rc.d/init.d/network restart")) { $success = 0; -- cgit v1.2.1