Merge pull request #1788 from ghostwheel42/dev

createDomainKey: fix exitcode for creating new key
This commit is contained in:
neil 2018-08-15 13:27:04 +08:00 committed by GitHub
commit 9173140ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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