From 6cd4d28674f9131bdf17166c1c0101b3a0045c2b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 14 Aug 2001 14:36:57 +0000 Subject: - fix behaviour of draknet when auto-install - remove auto flag when error-in-step --- perl-install/install2.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 5b7bd7805..ce08f0f70 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -256,7 +256,7 @@ sub configureNetwork { #- get current configuration of network device. require network; eval { network::read_all_conf($o->{prefix}, $o->{netc} ||= {}, $o->{intf} ||= {}) }; - installStepsCall($o, $auto, 'configureNetwork', $ent_number == 1); + installStepsCall($o, $auto, 'configureNetwork', $ent_number == 1, $clicked); } #------------------------------------------------------------------------------ sub installCrypto { @@ -564,6 +564,7 @@ sub main { /^theme_changed$/ and redo MAIN; unless (/^already displayed/) { eval { $o->errorInStep($_) }; + $o->{steps}{$o->{step}}{auto} = 0; $err = $@; $err and next; } -- cgit v1.2.1