diff options
-rw-r--r-- | update-ddns.in | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/update-ddns.in b/update-ddns.in index b4fcee5..063e08a 100644 --- a/update-ddns.in +++ b/update-ddns.in @@ -125,14 +125,7 @@ do fi fi - if [ -z "$( - ( - echo "${dnsIps}" - echo "${ips}" - ) | \ - sort | \ - uniq -d - )" ] + if [ "${dnsIps}" != "${ips}" ] then needsUpdate=true fi |