diff options
author | Erich Eckner <git@eckner.net> | 2017-03-12 11:55:07 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-12 11:55:07 +0100 |
commit | 3dbd3f11dd185a901e535da608b3fe7e614042e1 (patch) | |
tree | fa778f4e57df2847240f3dbb0fc8bb7271e84dbc | |
parent | 7da2ec83537964cf799834917c2d2369097e9a47 (diff) | |
download | update-ddns-3dbd3f11dd185a901e535da608b3fe7e614042e1.tar.xz |
ignore empty lines
-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}]}" ] |