浏览代码

Merge pull request #5374 from ryoon/posix-shell-portability

Fix POSIX shell portability
neil 1 年之前
父节点
当前提交
a00323412b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -1442,7 +1442,7 @@ _toPkcs() {
   else
     ${ACME_OPENSSL_BIN:-openssl} pkcs12 -export -out "$_cpfx" -inkey "$_ckey" -in "$_ccert" -certfile "$_cca"
   fi
-  if [ "$?" == "0" ]; then
+  if [ "$?" = "0" ]; then
     _savedomainconf "Le_PFXPassword" "$pfxPassword"
   fi