summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-29 12:06:00 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-29 12:06:00 +0000
commitad565aae9dcdf886feba62ae6e1d829a249053ee (patch)
tree9688cca3034c5157f49660d376461122d6892f5e
parentaa44ace96863461d47f4e21d4dc797e284b973a3 (diff)
downloaddrakx-ad565aae9dcdf886feba62ae6e1d829a249053ee.tar
drakx-ad565aae9dcdf886feba62ae6e1d829a249053ee.tar.gz
drakx-ad565aae9dcdf886feba62ae6e1d829a249053ee.tar.bz2
drakx-ad565aae9dcdf886feba62ae6e1d829a249053ee.tar.xz
drakx-ad565aae9dcdf886feba62ae6e1d829a249053ee.zip
do not unset automatic if mirror list selection fails, we know it wasn't automatic at that point
-rw-r--r--mdk-stage1/network.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 152d9c22e..b3f536d25 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -909,10 +909,8 @@ enum return_type ftp_prepare(void)
results = choose_mirror_from_list(http_proxy_host, http_proxy_port, "ftp", &answers[0], &answers[1]);
- if (results != RETURN_OK) {
- unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */
+ if (results != RETURN_OK)
return ftp_prepare();
- }
}
results = ask_from_entries_auto("Please enter the name or IP address of the FTP server, "