Merge pull request #4331 from arnebjarne/dns_cpanel_newserial_fix

Dns cpanel newserial fix
This commit is contained in:
neil 2022-10-02 20:40:50 +08:00 committed by GitHub
commit e888c96591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,8 +139,8 @@ _get_root() {
} }
_successful_update() { _successful_update() {
if (echo "$_result" | grep -q 'newserial'); then return 0; fi if (echo "$_result" | _egrep_o 'data":\[[^]]*]' | grep -q '"newserial":null'); then return 1; fi
return 1 return 0
} }
_findentry() { _findentry() {