aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-20 16:20:28 +0200
committerKim Alvefur <zash@zash.se>2017-04-20 16:20:28 +0200
commitd7900a6980737c8fd3c7f51794a003c96f264a75 (patch)
tree545a1ca43499e3af896ab5e85cb49754ee432331 /prosodyctl
parent8a5beb28d90e4e5eda00fd7728e2fbfd50c0f142 (diff)
downloadprosody-d7900a6980737c8fd3c7f51794a003c96f264a75.tar.gz
prosody-d7900a6980737c8fd3c7f51794a003c96f264a75.zip
prosodyctl: Use the correct variable
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
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)