Commit b15cfc2c authored by neil's avatar neil
Browse files

minor

parent c575c9af
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment