mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
missed one egrep command
This commit is contained in:
parent
3b74ac841e
commit
b73f5a4e94
@ -77,7 +77,7 @@ dns_infoblox_rm() {
|
|||||||
result=$(_get "$baseurlnObject")
|
result=$(_get "$baseurlnObject")
|
||||||
|
|
||||||
## Let's see if we get something intelligible back from the grid
|
## Let's see if we get something intelligible back from the grid
|
||||||
if echo "$result" | egrep 'record:txt/.*:.*/default'; then
|
if echo "$result" | egrep "record:txt/.*:.*/$Infoblox_View"; then
|
||||||
## Extract the object reference
|
## Extract the object reference
|
||||||
objRef=$(printf "%b" "$result" | _egrep_o "record:txt/.*:.*/$Infoblox_View")
|
objRef=$(printf "%b" "$result" | _egrep_o "record:txt/.*:.*/$Infoblox_View")
|
||||||
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
|
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
|
||||||
|
Loading…
Reference in New Issue
Block a user