Issue #2850 : grammar corrections for "exists" and "exist".

This commit is contained in:
Tony Gravagno
2020-06-29 11:29:10 -07:00
parent 71a5f0e84e
commit eca57beec1
8 changed files with 15 additions and 14 deletions

View File

@ -37,7 +37,7 @@ dns_kinghost_add() {
_debug "Getting txt records"
_kinghost_rest GET "dns" "name=$fulldomain&content=$txtvalue"
#This API call returns "status":"ok" if dns record does not exists
#This API call returns "status":"ok" if dns record does not exist
#We are creating a new txt record here, so we expect the "ok" status
if ! echo "$response" | grep '"status":"ok"' >/dev/null; then
_err "Error"