Commit 625a07f4 authored by Natanael Copa's avatar Natanael Copa

setup-apkrepos: do not add empty mirrors

ref #1073
parent 30320091
......@@ -60,6 +60,10 @@ add_fastest_mirror() {
fi
done
mirror=$mirror_lowest_rtt_mirror
if [ -z "$mirror" ]; then
eecho "Failed to ping any mirror"
return 1
fi
add_mirror "$mirror"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment