main
Talon 11 months ago
parent cce6dde4b5
commit ace83edacb
  1. 2
      DynGanDiNS.sh

@ -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…
Cancel
Save