fix deactivate function

fix deactivate function
This commit is contained in:
neil 2016-12-09 22:23:03 +08:00 committed by GitHub
commit eb91f9575a

View File

@ -3469,7 +3469,7 @@ _deactivate() {
return 1
fi
entry="$(printf "%s\n" "$response" | _egrep_o '{"type":".*","status":"valid","uri"[^}]*')"
entry="$(printf "%s\n" "$response" | _egrep_o '{"type":"[^"]*","status":"valid","uri"[^}]*')"
_debug entry "$entry"
if [ -z "$entry" ]; then