mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Add log info in omr-test-speed when server unreachable
This commit is contained in:
parent
17f9abd483
commit
49a1c4eda4
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,9 @@ while [ "$response" = "000" ] && [ "$try" -le 3 ]; do
|
|||
HOSTLST=$(echo $HOSTLST | tr ' ' '\n' | grep -v "$HOST" | xargs)
|
||||
fi
|
||||
try=$((try+1))
|
||||
if [ "$response" = "000" ]; then
|
||||
echo "No answer from $HOST, retry..."
|
||||
fi
|
||||
done
|
||||
|
||||
[ -z "$HOST" ] && HOST="http://speedtest.milkywan.fr/files/10G.iso"
|
||||
|
|
Loading…
Reference in a new issue