Skip to content

Commit 12e6748

Browse files
authored
Merge pull request #270 from buchdag/patch-1
Fix forced renewal of certificates
2 parents 2974fc1 + 420d32d commit 12e6748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/letsencrypt_service

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ update_certs() {
7070
params_d_str=""
7171
[[ $DEBUG == true ]] && params_d_str+=" -v"
7272
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
73-
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift
73+
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000"
7474

7575
hosts_array_expanded=("${!hosts_array}")
7676
# First domain will be our base domain

0 commit comments

Comments
 (0)