mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
fix format
This commit is contained in:
parent
578c338d40
commit
365aa69afd
4
acme.sh
4
acme.sh
@ -3534,12 +3534,12 @@ _regAccount() {
|
|||||||
fi
|
fi
|
||||||
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
|
_eab_id="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_kid"' | cut -d : -f 2 | tr -d '"')"
|
||||||
if [ -z "$_eab_id" ]; then
|
if [ -z "$_eab_id" ]; then
|
||||||
_err "Can not resolve _eab_id";
|
_err "Can not resolve _eab_id"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_eab_hmac_key="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_hmac_key"' | cut -d : -f 2 | tr -d '"')"
|
_eab_hmac_key="$(echo "$_eabresp" | tr ',}' '\n' | grep '"eab_hmac_key"' | cut -d : -f 2 | tr -d '"')"
|
||||||
if [ -z "$_eab_hmac_key" ]; then
|
if [ -z "$_eab_hmac_key" ]; then
|
||||||
_err "Can not resolve _eab_hmac_key";
|
_err "Can not resolve _eab_hmac_key"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_savecaconf CA_EAB_KEY_ID "$_eab_id"
|
_savecaconf CA_EAB_KEY_ID "$_eab_id"
|
||||||
|
Loading…
Reference in New Issue
Block a user