Browse Source

Merge pull request #29 from tombii/patch-1

FORCE=1 then we also need to regenerate the CSR
Neil 9 years ago
parent
commit
58b8dfad05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      le.sh

+ 1 - 1
le.sh

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