1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-16 19:03:03 +00:00

Merge pull request #236 from tohojo/regexp-escape

Add missing escape in regular expression.
This commit is contained in:
neil
2016-07-09 18:35:50 +08:00
committed by GitHub
+1 -1
View File
@@ -1726,7 +1726,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"