diff --git a/app/letsencrypt_service b/app/letsencrypt_service index f638497..f6144fd 100755 --- a/app/letsencrypt_service +++ b/app/letsencrypt_service @@ -70,7 +70,7 @@ update_certs() { params_d_str="" [[ $DEBUG == true ]] && params_d_str+=" -v" [[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key" - [[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift + [[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" hosts_array_expanded=("${!hosts_array}") # First domain will be our base domain