Argh. Double quotes.
This commit is contained in:
parent
63c6ed3fd0
commit
9aed1e2d17
@ -17,7 +17,7 @@ dns_duckdns_add() {
|
|||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
# We'll extract the domain/username from full domain
|
# 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
|
if [ -z "$DuckDNS_Domain" ]; then
|
||||||
_err "Error extracting the domain."
|
_err "Error extracting the domain."
|
||||||
|
Loading…
Reference in New Issue
Block a user