Changeset

8102:927b9c5cc17a

prosodyctl: Use the correct variable
author Kim Alvefur <zash@zash.se>
date Thu, 20 Apr 2017 16:20:28 +0200
parents 8100:1773559b03a8
children 8103:a0b498ec0b22 8104:4e5a8365c53f
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Wed Apr 19 20:39:47 2017 +0200
+++ b/prosodyctl	Thu Apr 20 16:20:28 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)