From 9b5bd658a403fd1b1a7321d3d37ae2e8b8cba9a0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 20 Apr 2017 16:20:28 +0200 Subject: prosodyctl: Use the correct variable --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosodyctl') diff --git a/prosodyctl b/prosodyctl index 219c3522..06550151 100755 --- a/prosodyctl +++ b/prosodyctl @@ -701,7 +701,7 @@ local cert_basedir = CFG_DATADIR or "./certs"; 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) -- cgit v1.2.3