fix deactivate function

This commit is contained in:
neilpang 2016-12-09 22:20:38 +08:00
parent 03d3f3afc3
commit 947d14ffeb
1 changed files with 1 additions and 1 deletions

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