pull/103/merge
YANG-BANG LI 11 hours ago committed by GitHub
commit 3ae657a2c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cloudflare-template.sh

@ -75,7 +75,7 @@ fi
old_ip=$(echo "$record" | sed -E 's/.*"content":"(([0-9]{1,3}\.){3}[0-9]{1,3})".*/\1/')
# Compare if they're the same
if [[ $CURRENT_IP == $old_ip ]]; then
logger "DDNS Updater: IP ($CURRENT_IP) for ${record_name} has not changed."
logger -s "DDNS Updater: IP ($CURRENT_IP) for ${record_name} has not changed."
exit 0
fi

Loading…
Cancel
Save