Fix pattern matching for best zone selection
parent
93dc22a71f
commit
31d7264583
|
|
@ -100,7 +100,7 @@ _get_root() {
|
|||
bestzone=""
|
||||
for z in $zones; do
|
||||
case "$fulldomain" in
|
||||
*.$z|$z)
|
||||
*."$z"|"$z")
|
||||
if [ ${#z} -gt ${#bestzone} ]; then
|
||||
bestzone=$z
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue