diff options
author | Erich Eckner <git@eckner.net> | 2017-03-10 14:20:52 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-10 14:20:52 +0100 |
commit | 0493cb196d0bff6f6e12648647bc182ac9a3b88a (patch) | |
tree | 27f8a8f25e34b975aa2b59e9ab8f47548b81e3a5 /update-ddns.in | |
parent | 7b9657818ecce9790e153896b1bef9341293c65f (diff) | |
download | update-ddns-0493cb196d0bff6f6e12648647bc182ac9a3b88a.tar.xz |
schaut nun auch nach zu vielen IPs
Diffstat (limited to 'update-ddns.in')
-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 |