Commit 947d14ff authored by neilpang's avatar neilpang
Browse files

fix deactivate function

parent 03d3f3af
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment