Fixed a missed 'grep -o' to _egrep_o()
This commit is contained in:
parent
ae71a5abf6
commit
b1b336804d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user