diff options
author | Kim Alvefur <zash@zash.se> | 2016-07-29 11:24:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-07-29 11:24:28 +0200 |
commit | c4d9a997e5ad67ec188eec5ace8e8e8ebd31f58d (patch) | |
tree | 2272b50bae6c60cc17f1e9ef3a6d53057cb4a8dc /core/certmanager.lua | |
parent | 81e867eb41ec5131cd0725a17f2b4faa8dfe33b2 (diff) | |
download | prosody-c4d9a997e5ad67ec188eec5ace8e8e8ebd31f58d.tar.gz prosody-c4d9a997e5ad67ec188eec5ace8e8e8ebd31f58d.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.lua | 2 |
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); |