From 03d3f3afc39e688bb998f8e2f7d3c094a2aad1df Mon Sep 17 00:00:00 2001 From: neilpang Date: Wed, 7 Dec 2016 14:50:45 +0800 Subject: [PATCH] fix for solaris --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 4c4a03f1..5e672a59 100755 --- a/acme.sh +++ b/acme.sh @@ -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