]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Make CI happy
authorJan-Philipp Benecke <jpb@cleverreach.com>
Tue, 30 Mar 2021 07:18:33 +0000 (09:18 +0200)
committerJan-Philipp Benecke <jpb@cleverreach.com>
Tue, 30 Mar 2021 07:18:33 +0000 (09:18 +0200)
deploy/cleverreach.sh

index 03fccc74bbf59bead35a8ba962019700d5696b2d..a460a1390781510beb91b90da71c0a3d15be5282 100644 (file)
@@ -56,7 +56,7 @@ cleverreach_deploy() {
 
   _debug _subclient "${DEPLOY_CLEVERREACH_SUBCLIENT_ID}"
 
-  if ! [ -z "${DEPLOY_CLEVERREACH_SUBCLIENT_ID}" ]; then
+  if [ -n "${DEPLOY_CLEVERREACH_SUBCLIENT_ID}" ]; then
     _info "Obtaining token for sub-client ${DEPLOY_CLEVERREACH_SUBCLIENT_ID}"
     export _H1="Authorization: Bearer ${_access_token}"
     _subclient_token_result="$(_get "$_rest_endpoint/v3/clients/$DEPLOY_CLEVERREACH_SUBCLIENT_ID/token")"