From 42dd175443ce6d7063c04665d8abc4efe4f342aa Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
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