mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
Merge branch 'fifteen' of ssh://git.ipfire.org/pub/git/ipfire-2.x into fifteen
This commit is contained in:
@@ -305,7 +305,12 @@ sub selectmirror {
|
||||
}
|
||||
}
|
||||
logger("MIRROR INFO: $scount servers found in list");
|
||||
|
||||
|
||||
if ($scount eq 0) {
|
||||
logger("MIRROR INFO: Could not find any servers. Falling back to main server $Conf::mainserver");
|
||||
return ("HTTP", $Conf::mainserver, "/$Conf::version");
|
||||
}
|
||||
|
||||
### Choose a random server and test if it is online
|
||||
# If the check fails try a new server.
|
||||
# This will never give up.
|
||||
|
||||
Reference in New Issue
Block a user