mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
fix error message.
This commit is contained in:
parent
b7ec6789b3
commit
6e18034333
2
acme.sh
2
acme.sh
@ -1449,7 +1449,7 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$status" = "invalid" ] ; then
|
if [ "$status" = "invalid" ] ; then
|
||||||
error="$(echo $response | egrep -o '"error":{[^}]*}')"
|
error="$(echo $response | tr -d "\r\n" | egrep -o '"error":{[^}]*}')"
|
||||||
_debug2 error "$error"
|
_debug2 error "$error"
|
||||||
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
|
||||||
_debug2 errordetail "$errordetail"
|
_debug2 errordetail "$errordetail"
|
||||||
|
Loading…
Reference in New Issue
Block a user