mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 05:01:40 +00:00
dns.la official acme script
dns.la official acme script
This commit is contained in:
parent
e1eb001872
commit
233c724b2d
@ -83,11 +83,10 @@ add_record() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if _contains "$response" "\"code\":300"; then
|
if _contains "$response" "resultid" || _contains "$response" "\"code\":532"; then
|
||||||
_record_id=$(printf "%s" "$response" | grep '"resultid"' | cut -d : -f 2 | cut -d , -f 1 | tr -d '\r' | tr -d '\n')
|
return 0
|
||||||
_debug _record_id "$_record_id"
|
|
||||||
fi
|
fi
|
||||||
_contains "$response" "\"code\":300"
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
#################### Private functions below ##################################
|
#################### Private functions below ##################################
|
||||||
|
Loading…
Reference in New Issue
Block a user