diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-20 16:20:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-20 16:20:28 +0200 |
commit | 9b5bd658a403fd1b1a7321d3d37ae2e8b8cba9a0 (patch) | |
tree | 545a1ca43499e3af896ab5e85cb49754ee432331 | |
parent | 256ab5259da1de5e24691493c0f6a26595e17208 (diff) | |
download | prosody-9b5bd658a403fd1b1a7321d3d37ae2e8b8cba9a0.tar.gz prosody-9b5bd658a403fd1b1a7321d3d37ae2e8b8cba9a0.zip |
prosodyctl: Use the correct variable
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |