fix if clause

This commit is contained in:
rootzoll
2019-01-17 17:47:32 +01:00
parent b46ee099ff
commit e2360d0e08

View File

@@ -186,7 +186,7 @@ else
fi fi
# DynDNS # DynDNS
if [ ${#dynDomain} -get 0 ]; then if [ ${#dynDomain} -gt 0 ]; then
#check if dyndns resolves to correct IP #check if dyndns resolves to correct IP
ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }') ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }')