Skip to content

Commit

Permalink
createDomainKey: fix exitcode for creating new key
Browse files Browse the repository at this point in the history
when running acme.sh headless (without terminal) to create a new key
createDomainKey returns a non-zero exit-code.
explicitly returning zero avoids this.
  • Loading branch information
Alexander Graf committed Aug 14, 2018
1 parent ac0cdcf commit 7aeb113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acme.sh
Expand Up @@ -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
Expand Down

0 comments on commit 7aeb113

Please sign in to comment.