mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-27 07:21:53 +00:00
fix issue for openBSD
This commit is contained in:
parent
e4739512e6
commit
230234e701
2
acme.sh
2
acme.sh
@ -1188,7 +1188,7 @@ issue() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entry="$(printf $response | egrep -o '\{[^{]*"type":"'$vtype'"[^}]*')"
|
entry="$(printf "$response" | egrep -o '\{[^{]*"type":"'$vtype'"[^}]*')"
|
||||||
_debug entry "$entry"
|
_debug entry "$entry"
|
||||||
|
|
||||||
token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
|
token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
|
||||||
|
Loading…
Reference in New Issue
Block a user