Merge pull request #2175 from loial/dns_gdnsdk_fix

dns_gdnsdk: Fixed stupid regex error, want literal "-", not a range
This commit is contained in:
neil authored and GitHub committed 2019-03-19 22:20:15 +08:00
commit fc30171725
1 file changed
+1 -1
+1 -1
View File
@@ -137,7 +137,7 @@ _mypost() {
_get_domain() {
_myget 'action=dns_primarydns'
_domains=$(echo "$_result" | _egrep_o ' domain="[[:alnum:].-_]+' | sed 's/^.*"//')
_domains=$(echo "$_result" | _egrep_o ' domain="[[:alnum:]._-]+' | sed 's/^.*"//')
if [ -z "$_domains" ]; then
_err "Primary domain list not found!"
return 1
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.