diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-28 18:47:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-28 18:47:11 +0100 |
commit | 147ed8402a59823eda8b794e6bad133766405f42 (patch) | |
tree | 228edd6fa4950bf2a2d0e5187112e44f44039a8d /prosodyctl | |
parent | 838155583d05d55b73895d16bc6b3b128da8fea7 (diff) | |
download | prosody-147ed8402a59823eda8b794e6bad133766405f42.tar.gz prosody-147ed8402a59823eda8b794e6bad133766405f42.zip |
prosodyctl: One month is 31 days, no 13 (thanks av6)
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 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 |