diff --git a/dnsapi/dns_cpanel.sh b/dnsapi/dns_cpanel.sh index b5c7465d..d31e702d 100755 --- a/dnsapi/dns_cpanel.sh +++ b/dnsapi/dns_cpanel.sh @@ -139,7 +139,7 @@ _get_root() { } _successful_update() { - if (echo "$_result" | egrep -o 'data":\[[^]]*]' | grep -q '"newserial":null'); then return 1; fi + if (echo "$_result" | _egrep_o 'data":\[[^]]*]' | grep -q '"newserial":null'); then return 1; fi return 1 }