Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Jan 2, 2022
1 parent 70769d8 commit 8839ff5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/gen_certificates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ acme_get_certificate_by_manual_force(){
algorithmType="RSA"
elif [ -d "/root/.acme.sh/${domain}_ecc" ]; then
algorithmType="ECC"
else
_echo -e "在/root/.acme.sh/目录中找不到${domain}的申请记录,不提供强制续期申请。"
exit 1
fi
acme_get_certificate_by_manual "${domain}" "${algorithmType}" "${isForce}"
}

0 comments on commit 8839ff5

Please sign in to comment.