Browse Source

Update dns_hostup.sh

bug fix Omnios fial
pull/6655/head
hostup 6 days ago
committed by GitHub
parent
commit
b8e394e76a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      dnsapi/dns_hostup.sh

7
dnsapi/dns_hostup.sh

@ -182,9 +182,10 @@ _hostup_detect_zone() {
return 0
fi
if ! printf "%s" "$_domain_candidate" | _contains "."; then
break
fi
case "$_domain_candidate" in
*.*) ;;
*) break ;;
esac
_domain_candidate="${_domain_candidate#*.}"
done

Loading…
Cancel
Save