1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2025-02-07 14:36:23 +01:00
parent 17f9abd483
commit 49a1c4eda4

View file

@ -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"