# HG changeset patch # User Kim Alvefur # Date 1469784268 -7200 # Node ID 2db68d1a6eeb2a7c6c250a9ab773d71438f3ca80 # Parent bdaff978c7904365d85c4fa76117f5e9d07db3c2 certmanager: Assume default config path of '.' (fixes prosodyctl check certs when not installed) diff -r bdaff978c790 -r 2db68d1a6eeb core/certmanager.lua --- a/core/certmanager.lua Thu Jul 28 15:34:45 2016 +0800 +++ b/core/certmanager.lua Fri Jul 29 11:24:28 2016 +0200 @@ -33,7 +33,7 @@ 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);