Diff

prosodyctl @ 8103:a0b498ec0b22

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 20 Apr 2017 16:21:13 +0200
parent 8101:3e25d96571d1
parent 8102:927b9c5cc17a
child 8112:d8ecefcb7c97
line wrap: on
line diff
--- a/prosodyctl	Thu Apr 20 00:41:49 2017 +0200
+++ b/prosodyctl	Thu Apr 20 16:21:13 2017 +0200
@@ -701,7 +701,7 @@
 if have_pposix and pposix.getuid() == 0 then
 	-- FIXME should be enough to check if this directory is writable
 	local cert_dir = config.get("*", "certificates") or "certs";
-	cert_basedir = config.resolve_relative_path(config.paths.certs, cert_dir);
+	cert_basedir = config.resolve_relative_path(prosody.paths.config, cert_dir);
 end
 
 function cert_commands.config(arg)