Browse Source
Merge pull request #2917 from mdbraber/lexicon_output_fix
Lexicon output fix
pull/3000/head
neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_lexicon.sh
|
@ -92,7 +92,7 @@ dns_lexicon_add() { |
|
|
_savedomainconf LEXICON_OPTS "$LEXICON_OPTS" |
|
|
_savedomainconf LEXICON_OPTS "$LEXICON_OPTS" |
|
|
|
|
|
|
|
|
# shellcheck disable=SC2086 |
|
|
# shellcheck disable=SC2086 |
|
|
$lexicon_cmd "$PROVIDER" $LEXICON_OPTS create "${domain}" TXT --name="_acme-challenge.${domain}." --content="${txtvalue}" |
|
|
|
|
|
|
|
|
$lexicon_cmd "$PROVIDER" $LEXICON_OPTS create "${domain}" TXT --name="_acme-challenge.${domain}." --content="${txtvalue}" --output QUIET |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -108,6 +108,6 @@ dns_lexicon_rm() { |
|
|
domain=$(printf "%s" "$fulldomain" | cut -d . -f 2-999) |
|
|
domain=$(printf "%s" "$fulldomain" | cut -d . -f 2-999) |
|
|
|
|
|
|
|
|
# shellcheck disable=SC2086 |
|
|
# shellcheck disable=SC2086 |
|
|
$lexicon_cmd "$PROVIDER" $LEXICON_OPTS delete "${domain}" TXT --name="_acme-challenge.${domain}." --content="${txtvalue}" |
|
|
|
|
|
|
|
|
$lexicon_cmd "$PROVIDER" $LEXICON_OPTS delete "${domain}" TXT --name="_acme-challenge.${domain}." --content="${txtvalue}" --output QUIET |
|
|
|
|
|
|
|
|
} |
|
|
} |