Pārlūkot izejas kodu

Merge pull request #1788 from ghostwheel42/dev

createDomainKey: fix exitcode for creating new key
neil 7 gadi atpakaļ
vecāks
revīzija
9173140ddf
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      acme.sh

+ 1 - 0
acme.sh

@@ -1327,6 +1327,7 @@ createDomainKey() {
     if _createkey "$_cdl" "$CERT_KEY_PATH"; then
       _savedomainconf Le_Keylength "$_cdl"
       _info "The domain key is here: $(__green $CERT_KEY_PATH)"
+      return 0
     fi
   else
     if [ "$IS_RENEW" ]; then