mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-14 12:12:14 +08:00
shfmt fixes
This commit is contained in:
@@ -130,15 +130,18 @@ dns_qc_rm() {
|
|||||||
fi
|
fi
|
||||||
done < $tmpfile
|
done < $tmpfile
|
||||||
rm $tmpfile
|
rm $tmpfile
|
||||||
|
|
||||||
if [ -z "$record_id" ]; then
|
if [ -z "$record_id" ]; then
|
||||||
_info "TXT record, or $txtvalue not found, noting to remove"
|
_info "TXT record, or $txtvalue not found, nothing to remove"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#End of jq replacement
|
#End of jq replacement
|
||||||
if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then
|
if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then
|
||||||
_info "Delete txt record error."
|
_info "Delete txt record error."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_info "TXT Record ID: $record_id successfully deleted"
|
_info "TXT Record ID: $record_id successfully deleted"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user