From 0c30b8a27388823a4ac4d95ae32e118b99db81a3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Feb 2016 18:23:24 +0100 Subject: prosodyctl: check certs: Update messages to account for 'ssl' option maybe not existing --- prosodyctl | 4 ++-- 1 file 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 -- cgit v1.2.3