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

This commit is contained in:
Bjarke Bruun 2022-07-12 16:26:45 +02:00
parent ae71a5abf6
commit b1b336804d

View File

@ -146,7 +146,7 @@ _get_root() {
fi
done)
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"
fi