Browse Source

Forgot to apply the changed default return value

Bjarne Saltbaek 3 years ago
parent
commit
9feeba8d4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dnsapi/dns_cpanel.sh

+ 1 - 1
dnsapi/dns_cpanel.sh

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