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 | 0e989e1401461849ad45949f61a6e9413dd2f160 (patch) | |
tree | 2272b50bae6c60cc17f1e9ef3a6d53057cb4a8dc | |
parent | add57bd7f62cd2ff4c5b5b72bceef0f74f8b1626 (diff) | |
download | prosody-0e989e1401461849ad45949f61a6e9413dd2f160.tar.gz prosody-0e989e1401461849ad45949f61a6e9413dd2f160.zip |
certmanager: Assume default config path of '.' (fixes prosodyctl check certs when not installed)
-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); |