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

Fix POSIX shell portability
This commit is contained in:
neil 2024-10-25 08:55:38 +02:00 committed by GitHub
commit a00323412b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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