mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 09:42:44 +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
|
return 0
|
||||||
else
|
else
|
||||||
_info "Error encountered during record addition"
|
_info "Error encountered during record addition"
|
||||||
_info $result
|
_info "$result"
|
||||||
_err $result
|
_err "$result"
|
||||||
return 1
|
return 1
|
||||||
fi
|
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"
|
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`
|
result=`curl -k -u $Infoblox_Creds -X GET $baseurlnObject`
|
||||||
|
|
||||||
@ -71,14 +71,14 @@ if _info "$result" | egrep 'record:txt/.*:.*/default'; then
|
|||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
_info "Error occurred during txt record delete"
|
_info "Error occurred during txt record delete"
|
||||||
_info $rmResult
|
_info "$rmResult"
|
||||||
_err $rmResult
|
_err "$rmResult"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
_info "Record to delete didn't match an existing record"
|
_info "Record to delete didn't match an existing record"
|
||||||
_info $result
|
_info "$result"
|
||||||
_err $result
|
_err "$result"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user