Argh. Double quotes.

This commit is contained in:
RaidenII 2017-07-01 05:18:12 -07:00
parent 63c6ed3fd0
commit 9aed1e2d17

View File

@ -17,7 +17,7 @@ dns_duckdns_add() {
txtvalue=$2
# We'll extract the domain/username from full domain
DuckDNS_Domain=$(echo $fulldomain | _lower_case | _egrep_o '.[^.]*.duckdns.org' | cut -d . -f 2)
DuckDNS_Domain=$(echo "$fulldomain" | _lower_case | _egrep_o '.[^.]*.duckdns.org' | cut -d . -f 2)
if [ -z "$DuckDNS_Domain" ]; then
_err "Error extracting the domain."