diff options
-rw-r--r-- | update-ddns.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ddns.in b/update-ddns.in index caace9c..afbc11a 100644 --- a/update-ddns.in +++ b/update-ddns.in @@ -112,7 +112,7 @@ do sort -u )" - if [ $(echo "${ips}" | wc -l) -eq 0 ] + if [ $(echo "${ips}" | grep -c '.') -eq 0 ] then updateIps="${updateIps}"',auto' if [ -n "${curlForceIpVer}" ] && [ "${curlForceIpVer}" != "${ipCmdVers[${j}]}" ] |