aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-28 18:47:11 +0100
committerKim Alvefur <zash@zash.se>2016-02-28 18:47:11 +0100
commitb4134596f5f6572604aeef890229acab458f693c (patch)
tree228edd6fa4950bf2a2d0e5187112e44f44039a8d
parent0af9b9446b9011e06c4f012bc1d35f542a5718d6 (diff)
downloadprosody-b4134596f5f6572604aeef890229acab458f693c.tar.gz
prosody-b4134596f5f6572604aeef890229acab458f693c.zip
prosodyctl: One month is 31 days, no 13 (thanks av6)
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 1d423b8c..f0f8beb1 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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