summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-20 08:45:33 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-20 08:45:33 +0000
commit67ac3075349e74f4984ea04d19569c19ca1efa70 (patch)
tree4ebe63ad9a45cee79467eee7126dd0b94935ef9b
parentaab70c42fadc78a558f96593570f484d73b30567 (diff)
downloaddrakx-67ac3075349e74f4984ea04d19569c19ca1efa70.tar
drakx-67ac3075349e74f4984ea04d19569c19ca1efa70.tar.gz
drakx-67ac3075349e74f4984ea04d19569c19ca1efa70.tar.bz2
drakx-67ac3075349e74f4984ea04d19569c19ca1efa70.tar.xz
drakx-67ac3075349e74f4984ea04d19569c19ca1efa70.zip
do not write config two times for lan connections
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 1f19cade0..fb71f242f 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -220,8 +220,7 @@ sub real_main {
return "multiple_internet_cnx";
} else {
$netc->{internet_cnx_choice} = (keys %{$netc->{internet_cnx}})[0] if $nb == 1;
- $save_cnx->();
- return $goto_start_on_boot_ifneeded->()
+ return $save_cnx->();
}
};