Skip to content

Commit 420d32d

Browse files
authored
Fix forced renewal of certificates
1 parent 2974fc1 commit 420d32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/letsencrypt_service

Lines changed: 1 addition & 1 deletion
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)