mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 13:31:18 +00:00
Detect missing jq
This commit is contained in:
1 parent
7fc45226da
commit
1d26d4fc91
1 file changed
+5
@@ -18,6 +18,11 @@ dns_qc_add() {
|
||||
txtvalue=$2
|
||||
|
||||
_debug "Enter dns_qc_add fulldomain: $fulldomain, txtvalue: $txtvalue"
|
||||
if ! _exists jq; then
|
||||
_err "jq not found"
|
||||
return 1
|
||||
fi
|
||||
|
||||
QC_API_KEY="${QC_API_KEY:-$(_readaccountconf_mutable QC_API_KEY)}"
|
||||
QC_API_EMAIL="${QC_API_EMAIL:-$(_readaccountconf_mutable QC_API_EMAIL)}"
|
||||
|
||||
|
||||