shellcheck
This commit is contained in:
parent
cce6dde4b5
commit
ace83edacb
|
@ -25,7 +25,7 @@ GDDNS_EXTERNAL_IP="${GDDNS_EXTERNAL_IP:-"https://ipv4.icanhazip.com"}"
|
|||
###############################################################################
|
||||
|
||||
# Discover external IP (via icanhazip.com by default)
|
||||
if ! ip="$(curl --fail --silent $GDDNS_EXTERNAL_IP)"; then
|
||||
if ! ip="$(curl --fail --silent "$GDDNS_EXTERNAL_IP")"; then
|
||||
printf "error: failed to get external IP address\n"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue