Browse Source

fix https://github.com/Neilpang/acme.sh/issues/2252

neilpang 6 years ago
parent
commit
1a126b700f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deploy/haproxy.sh

+ 1 - 1
deploy/haproxy.sh

@@ -179,7 +179,7 @@ haproxy_deploy() {
       return ${_ret}
     fi
   else
-    [ -f "${_issuer}" ] _err "Issuer file update not requested but .issuer file exists"
+    [ -f "${_issuer}" ] && _err "Issuer file update not requested but .issuer file exists"
   fi
 
   # Update .ocsp file if certificate was requested with --ocsp/--ocsp-must-staple option