prosodyctl
changeset 8105 927b9c5cc17a
parent 8103 1773559b03a8
child 8106 a0b498ec0b22
child 8107 4e5a8365c53f
--- 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)