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

pull/4151/head
Bjarke Bruun 3 years ago
parent ae71a5abf6
commit b1b336804d

@ -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