From c4d9a997e5ad67ec188eec5ace8e8e8ebd31f58d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 29 Jul 2016 11:24:28 +0200 Subject: certmanager: Assume default config path of '.' (fixes prosodyctl check certs when not installed) --- core/certmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/certmanager.lua b/core/certmanager.lua index 29a5a6c8..c286a901 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -33,7 +33,7 @@ local select = select; local prosody = prosody; local resolve_path = require"util.paths".resolve_relative_path; -local config_path = prosody.paths.config; +local config_path = prosody.paths.config or "."; local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)"); local luasec_version = tonumber(luasec_major) * 100 + tonumber(luasec_minor); -- cgit v1.2.3