summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}