From b15cfc2c5a5f8f7a80ae01d270b91652721e288a Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 11 Oct 2016 18:30:38 +0800 Subject: [PATCH] minor --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 7536a2d9..9ff54d32 100755 --- a/acme.sh +++ b/acme.sh @@ -2439,9 +2439,9 @@ issue() { fi if [ "$status" = "invalid" ] ; then - error="$(echo "$response" | tr -d "\r\n" | _egrep_o '"error":\{[^\}]*\}')" + error="$(echo "$response" | tr -d "\r\n" | _egrep_o '"error":\{[^\}]*')" _debug2 error "$error" - errordetail="$(echo $error | _egrep_o '"detail": *"[^"]*"' | cut -d '"' -f 4)" + errordetail="$(echo "$error" | _egrep_o '"detail": *"[^"]*' | cut -d '"' -f 4)" _debug2 errordetail "$errordetail" if [ "$errordetail" ] ; then _err "$d:Verify error:$errordetail"