Unverified Commit e888c965 authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #4331 from arnebjarne/dns_cpanel_newserial_fix

Dns cpanel newserial fix
parents 59519f04 9feeba8d
......@@ -139,8 +139,8 @@ _get_root() {
}
_successful_update() {
if (echo "$_result" | grep -q 'newserial'); then return 0; fi
return 1
if (echo "$_result" | _egrep_o 'data":\[[^]]*]' | grep -q '"newserial":null'); then return 1; fi
return 0
}
_findentry() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment