Give up making attemps to test domain in case of an error

This commit is contained in:
Max Makarov 2024-02-20 22:07:51 +03:00 committed by GitHub
parent b751c4daa4
commit 36b927614d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,6 +452,9 @@ curl_test()
continue continue
} }
code=$? code=$?
if [ $code != 0 ]; then
break
fi
done done
if [ $code = 254 ]; then if [ $code = 254 ]; then
echo "UNAVAILABLE" echo "UNAVAILABLE"