mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-07 16:46:29 +00:00
Quotes added
@Neilpang tested and committed
This commit is contained in:
parent
bf0f5507ad
commit
4f759172f8
@ -34,8 +34,8 @@ if _info "$result" | egrep 'record:txt/.*:.*/default'; then
|
||||
return 0
|
||||
else
|
||||
_info "Error encountered during record addition"
|
||||
_info $result
|
||||
_err $result
|
||||
_info "$result"
|
||||
_err "$result"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -56,7 +56,7 @@ dns_infoblox_rm() {
|
||||
|
||||
baseurlnObject="https://$Infoblox_Server/wapi/v2.2.2/record:txt?name=$fulldomain&text=$txtvalue&_return_type=xml-pretty"
|
||||
|
||||
_info $baseurlnObject
|
||||
_info "$baseurlnObject"
|
||||
|
||||
result=`curl -k -u $Infoblox_Creds -X GET $baseurlnObject`
|
||||
|
||||
@ -71,14 +71,14 @@ if _info "$result" | egrep 'record:txt/.*:.*/default'; then
|
||||
return 0
|
||||
else
|
||||
_info "Error occurred during txt record delete"
|
||||
_info $rmResult
|
||||
_err $rmResult
|
||||
_info "$rmResult"
|
||||
_err "$rmResult"
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
_info "Record to delete didn't match an existing record"
|
||||
_info $result
|
||||
_err $result
|
||||
_info "$result"
|
||||
_err "$result"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user