mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 05:12:08 +08:00
Update dns_hostup.sh
bug fix Omnios fial
This commit is contained in:
@@ -182,9 +182,10 @@ _hostup_detect_zone() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! printf "%s" "$_domain_candidate" | _contains "."; then
|
case "$_domain_candidate" in
|
||||||
break
|
*.*) ;;
|
||||||
fi
|
*) break ;;
|
||||||
|
esac
|
||||||
|
|
||||||
_domain_candidate="${_domain_candidate#*.}"
|
_domain_candidate="${_domain_candidate#*.}"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user