revert curl DIGITALOCEAN_DOMAIN
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ IP=""
|
|||||||
if [ "$#" == "1" ]; then
|
if [ "$#" == "1" ]; then
|
||||||
IP=$1
|
IP=$1
|
||||||
else
|
else
|
||||||
IP=`curl -4 $DIGITALOCEAN_DOMAIN 2> /dev/null`
|
IP=`curl -4 icanhazip.com 2> /dev/null`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If $IP does not look like a valid address then complain and exit.
|
# If $IP does not look like a valid address then complain and exit.
|
||||||
|
|||||||
Reference in New Issue
Block a user