mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
Fix pattern matching for best zone selection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user