diff options
author | Erich Eckner <git@eckner.net> | 2017-03-01 17:43:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-01 17:43:08 +0100 |
commit | f93ff748edf1b92e6b35f980b1f4eb5fe4cc39dd (patch) | |
tree | a4d925beaf92350d39bc031b07050702f3bdb1ba | |
parent | 63dff6ddfd6e37bf5f0e8b81fea0ffb5bb10579b (diff) | |
download | update-ddns-f93ff748edf1b92e6b35f980b1f4eb5fe4cc39dd.tar.xz |
remove leading , from addresses
-rw-r--r-- | update-ddns.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-ddns.in b/update-ddns.in index 205535a..66f3dba 100644 --- a/update-ddns.in +++ b/update-ddns.in @@ -142,9 +142,9 @@ do then if [[ "${updateUrl}" = *'?'* ]] then - updateIps='&'"${updateIps}" + updateIps='&'"${updateIps#,}" else - updateIps='?'"${updateIps}" + updateIps='?'"${updateIps#,}" fi curl ${curlForceIpVer} -sS "${updateUrl}${updateIps}" 2> /dev/null fi |