Merge pull request #29 from tombii/patch-1

FORCE=1 then we also need to regenerate the CSR
This commit is contained in:
Neil 2016-01-20 16:06:08 +08:00
commit 58b8dfad05

2
le.sh
View File

@ -110,7 +110,7 @@ createCSR() {
domainlist=$2
if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ]; then
if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ] && ! [ "$FORCE" ]; then
_info "CSR exists, skip"
return
fi