Merge pull request #718 from Neilpang/dev

fix cloudxns api https://github.com/Neilpang/acme.sh/issues/717
This commit is contained in:
neil 2017-03-11 10:08:00 +08:00 committed by GitHub
commit dcbd90ce04

View File

@ -209,8 +209,7 @@ _rest() {
return 1 return 1
fi fi
_debug2 response "$response" _debug2 response "$response"
if ! _contains "$response" '"message":"success"'; then
return 1 _contains "$response" '"code":1'
fi
return 0
} }