mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-18 20:21:18 +00:00
better output
This commit is contained in:
parent
2b9014624a
commit
558130f85d
8
all
8
all
@ -394,11 +394,11 @@ bestmirror()
|
||||
m=$pre$in$suf
|
||||
if t=`mirrorspeed "$m"`; then
|
||||
if [ -n "$t" ]; then
|
||||
t=$(($t$op)) # fudge factor
|
||||
msg "$m -> $t ticks ($op)"
|
||||
if [ -z "$bestt" ] || [ "$t" -lt "$bestt" ]; then
|
||||
tt=$(($t$op)) # fudge factor
|
||||
msg "$m -> $t$op=$tt ticks"
|
||||
if [ -z "$bestt" ] || [ "$tt" -lt "$bestt" ]; then
|
||||
bestin=$in
|
||||
bestt=$t
|
||||
bestt=$tt
|
||||
fi
|
||||
else
|
||||
msg "$m -> error"
|
||||
|
Loading…
Reference in New Issue
Block a user