summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-15 11:54:48 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-15 11:54:48 +0000
commitc21ae0aba756ea98877f7d1617394ed8d8acdcb7 (patch)
treeeb877ff871849be59260813fbc17e555612fdb2f /mdk-stage1
parentffb5584f804fd986d46316c6f9b98ed04e1c7cf9 (diff)
downloaddrakx-c21ae0aba756ea98877f7d1617394ed8d8acdcb7.tar
drakx-c21ae0aba756ea98877f7d1617394ed8d8acdcb7.tar.gz
drakx-c21ae0aba756ea98877f7d1617394ed8d8acdcb7.tar.bz2
drakx-c21ae0aba756ea98877f7d1617394ed8d8acdcb7.tar.xz
drakx-c21ae0aba756ea98877f7d1617394ed8d8acdcb7.zip
fix return code handling in mirror list selection
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index ec95df0f0..03312bec6 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -792,7 +792,7 @@ static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port,
}
} while (results == RETURN_ERROR);
- return RETURN_ERROR;
+ return results;
}