Update dns_ddnss.sh

fix format for Travis CI checks
This commit is contained in:
helbgd 2018-03-13 02:45:11 +01:00 committed by GitHub
parent b93ce7f99b
commit ce0616caaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ _ddnss_rest() {
# DDNSS uses GET to update domain info # DDNSS uses GET to update domain info
if [ "$method" = "GET" ]; then if [ "$method" = "GET" ]; then
response="$(_get "$url" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' |tail -n 1 )" response="$(_get "$url" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | tail -n 1)"
else else
_err "Unsupported method" _err "Unsupported method"
return 1 return 1