fix for solaris

This commit is contained in:
neilpang committed 2016-12-07 14:50:45 +08:00
1 parent 2728170c01
commit 03d3f3afc3
1 file changed
+1 -1
+1 -1
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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.