diff --git a/acme.sh b/acme.sh index 5b75d153..47663329 100755 --- a/acme.sh +++ b/acme.sh @@ -1725,7 +1725,7 @@ 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 | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)" _debug2 errordetail "$errordetail"