mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 05:01:40 +00:00
fix syntax
This commit is contained in:
parent
95cdb4b2bc
commit
89989adcad
@ -65,7 +65,7 @@ gcore_cdn_deploy() {
|
||||
_debug _response "$_response"
|
||||
_token=$(echo "$_response" | jq -r '.token')
|
||||
_debug _token "$_token"
|
||||
|
||||
|
||||
if [ "$_token" = "null" ]; then
|
||||
_err "Error G-Core Labs API authorization"
|
||||
return 1
|
||||
@ -97,7 +97,7 @@ gcore_cdn_deploy() {
|
||||
_sslDataAdd=$(echo "$_response" | jq -r '.id')
|
||||
_debug _sslDataAdd "$_sslDataAdd"
|
||||
|
||||
if [ "$_sslDataAdd" == "null" ]; then
|
||||
if [ "$_sslDataAdd" = "null" ]; then
|
||||
_err "Error new SSL certificate add"
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user