summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-10 14:20:52 +0100
committerErich Eckner <git@eckner.net>2017-03-10 14:20:52 +0100
commit0493cb196d0bff6f6e12648647bc182ac9a3b88a (patch)
tree27f8a8f25e34b975aa2b59e9ab8f47548b81e3a5
parent7b9657818ecce9790e153896b1bef9341293c65f (diff)
downloadupdate-ddns-0493cb196d0bff6f6e12648647bc182ac9a3b88a.tar.xz
schaut nun auch nach zu vielen IPs
-rw-r--r--update-ddns.in9
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