Commit 576a146e authored by neil's avatar neil Committed by Ed Lynes
Browse files

add debug info for duckdns

parent 69c5291e
...@@ -112,6 +112,9 @@ _duckdns_rest() { ...@@ -112,6 +112,9 @@ _duckdns_rest() {
param="$2" param="$2"
_debug param "$param" _debug param "$param"
url="$DuckDNS_API?$param" url="$DuckDNS_API?$param"
if [ "$DEBUG" -gt 0 ]; then
url="$url&verbose=true"
fi
_debug url "$url" _debug url "$url"
# DuckDNS uses GET to update domain info # DuckDNS uses GET to update domain info
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment