mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: One month is 31 days, no 13 (thanks av6)
This commit is contained in:
parent
838155583d
commit
147ed8402a
1 changed files with 1 additions and 1 deletions
|
@ -1248,7 +1248,7 @@ function commands.check(arg)
|
|||
cert_ok = false
|
||||
elseif not cert:validat(os.time() + 86400*7) then
|
||||
print(" Certificate expires within one week.")
|
||||
elseif not cert:validat(os.time() + 86400*13) then
|
||||
elseif not cert:validat(os.time() + 86400*31) then
|
||||
print(" Certificate expires within one month.")
|
||||
end
|
||||
if config.get(host, "component_module") == nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue