projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42f986
)
prosodyctl: One month is 31 days, no 13 (thanks av6)
author
Kim Alvefur
<zash@zash.se>
Sun, 28 Feb 2016 17:47:11 +0000
(18:47 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 28 Feb 2016 17:47:11 +0000
(18:47 +0100)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index 1d423b8cf271ec100d99d52d2315ad366f777181..f0f8beb1cc73b8d0e14f9d43d228fb29d3a295e1 100755
(executable)
--- 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