summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 8c70e4437..17dc90fce 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -796,8 +796,8 @@ static enum return_type get_mirrorlist(mirrorlist_t mirrorlist, int start, char
line[line_pos] = '\0';
line_pos = 0;
- /* skip medium if it looks like an updates one */
- if (strstr(line, ",type=updates,"))
+ /* skip medium if it does not look like a distrib path */
+ if (!strstr(line, ",type=distrib,"))
continue;
url = strstr(line, ",url=");