fix for solaris

This commit is contained in:
neilpang 2016-12-07 14:50:45 +08:00
parent 2728170c01
commit 03d3f3afc3
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 '[^\{]*"status":"valid","uri"[^\}]*')"
entry="$(printf "%s\n" "$response" | _egrep_o '{"type":".*","status":"valid","uri"[^}]*')"
_debug entry "$entry"
if [ -z "$entry" ]; then