... | ... |
@@ -70,7 +70,7 @@ function swap () { |
70 | 70 |
|
71 | 71 |
function certificates () { |
72 | 72 |
_turn 24 || return |
73 |
- for domain in /etc/letsencrypt/live/*; do |
|
73 |
+ for domain in /etc/letsencrypt/live/*.*; do |
|
74 | 74 |
local notAfter="$(openssl x509 -enddate -noout -in $domain/fullchain.pem)" |
75 | 75 |
local enddate=$(date +%s -d"${notAfter#*=}") |
76 | 76 |
local delay=$(date +%_j -d@$(($enddate - $now))) |