fix: remove cloudflare service and improve ipv4/ipv6 handling
All checks were successful
ci / docker (push) Successful in 26s
All checks were successful
ci / docker (push) Successful in 26s
This commit is contained in:
parent
03fe312c02
commit
13c0f838b9
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ do
|
||||||
do
|
do
|
||||||
echo "Trying with $service..."
|
echo "Trying with $service..."
|
||||||
|
|
||||||
ipv4="$(curl -4 -s -f --connect-timeout=2 $service || echo "")"
|
ipv4="$(curl -4 -s -f --connect-timeout 2 $service || echo "")"
|
||||||
ipv6="$(curl -6 -s -f --connect-timeout=2 $service || echo "")"
|
ipv6="$(curl -6 -s -f --connect-timeout 2 $service || echo "")"
|
||||||
|
|
||||||
if [[ -n "$ipv4$ipv6" ]]
|
if [[ -n "$ipv4$ipv6" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue