Browse Source

Fixed a missed 'grep -o' to _egrep_o()

pull/4151/head
Bjarke Bruun 2 years ago
parent
commit
b1b336804d
  1. 2
      dnsapi/dns_dnsservices.sh

2
dnsapi/dns_dnsservices.sh

@ -146,7 +146,7 @@ _get_root() {
fi fi
done) done)
else else
rootZone=$(echo "$result" | grep -o '"name":"[^"]*' | cut -d'"' -f4)
rootZone=$(echo "$result" | _egrep_o '"name":"[^"]*' | cut -d'"' -f4)
_debug2 _get_root "- only found 1 domain in API: $rootZone" _debug2 _get_root "- only found 1 domain in API: $rootZone"
fi fi

Loading…
Cancel
Save