Browse Source

Merge pull request #4331 from arnebjarne/dns_cpanel_newserial_fix

Dns cpanel newserial fix
pull/4335/head
neil 2 years ago
committed by GitHub
parent
commit
e888c96591
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dnsapi/dns_cpanel.sh

4
dnsapi/dns_cpanel.sh

@ -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() {

Loading…
Cancel
Save