aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-28 18:23:24 +0100
committerKim Alvefur <zash@zash.se>2016-02-28 18:23:24 +0100
commit0c30b8a27388823a4ac4d95ae32e118b99db81a3 (patch)
treed702196fccee68bbe1f6c95436cc8f329d82edde
parent32f24c84a190cd881bab552ea149da07b13371e6 (diff)
downloadprosody-0c30b8a27388823a4ac4d95ae32e118b99db81a3.tar.gz
prosody-0c30b8a27388823a4ac4d95ae32e118b99db81a3.zip
prosodyctl: check certs: Update messages to account for 'ssl' option maybe not existing
-rwxr-xr-xprosodyctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index 2972aa53..4ae1136c 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1220,10 +1220,10 @@ function commands.check(arg)
print(" Error: "..err);
cert_ok = false
elseif not ssl_config.certificate then
- print(" No 'certificate' set in ssl option for "..host)
+ print(" No 'certificate' found for "..host)
cert_ok = false
elseif not ssl_config.key then
- print(" No 'key' set in ssl option for "..host)
+ print(" No 'key' found for for "..host)
cert_ok = false
else
local key, err = io.open(ssl_config.key); -- Permissions check only