浏览代码

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

neilpang 6 年之前
父节点
当前提交
1a126b700f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deploy/haproxy.sh

+ 1 - 1
deploy/haproxy.sh

@@ -179,7 +179,7 @@ haproxy_deploy() {
       return ${_ret}
       return ${_ret}
     fi
     fi
   else
   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
   fi
 
 
   # Update .ocsp file if certificate was requested with --ocsp/--ocsp-must-staple option
   # Update .ocsp file if certificate was requested with --ocsp/--ocsp-must-staple option