From 838155583d05d55b73895d16bc6b3b128da8fea7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Feb 2016 18:45:27 +0100 Subject: prosodyctl: Fix typo (thanks av6) --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index de397ccf..1d423b8c 100755 --- a/prosodyctl +++ b/prosodyctl @@ -1223,7 +1223,7 @@ function commands.check(arg) print(" No 'certificate' found for "..host) cert_ok = false elseif not ssl_config.key then - print(" No 'key' found for for "..host) + print(" No 'key' found for "..host) cert_ok = false else local key, err = io.open(ssl_config.key); -- Permissions check only -- cgit v1.2.3 From 147ed8402a59823eda8b794e6bad133766405f42 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Feb 2016 18:47:11 +0100 Subject: prosodyctl: One month is 31 days, no 13 (thanks av6) --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3