aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-29 11:24:28 +0200
committerKim Alvefur <zash@zash.se>2016-07-29 11:24:28 +0200
commit0e989e1401461849ad45949f61a6e9413dd2f160 (patch)
tree2272b50bae6c60cc17f1e9ef3a6d53057cb4a8dc /core/certmanager.lua
parentadd57bd7f62cd2ff4c5b5b72bceef0f74f8b1626 (diff)
downloadprosody-0e989e1401461849ad45949f61a6e9413dd2f160.tar.gz
prosody-0e989e1401461849ad45949f61a6e9413dd2f160.zip
certmanager: Assume default config path of '.' (fixes prosodyctl check certs when not installed)
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
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);