mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-03 03:09:41 +08:00
fix error message.
This commit is contained in:
2
acme.sh
2
acme.sh
@@ -1449,7 +1449,7 @@ issue() {
|
||||
fi
|
||||
|
||||
if [ "$status" = "invalid" ] ; then
|
||||
error="$(echo $response | 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"
|
||||
|
||||
Reference in New Issue
Block a user