aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-03-22 21:54:59 +0000
committerMatthew Wild <mwild1@gmail.com>2018-03-22 21:54:59 +0000
commitb0d2e9a3dec88b7376dcbce49aa69d21a0b2087d (patch)
tree7e309739e6e09b1a7499dc467bf58376b3322cdd /prosodyctl
parent7f6635523c5ab8417a5709ec717810bc26315059 (diff)
downloadprosody-b0d2e9a3dec88b7376dcbce49aa69d21a0b2087d.tar.gz
prosody-b0d2e9a3dec88b7376dcbce49aa69d21a0b2087d.zip
prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 07b68e69..20aaae2f 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -219,7 +219,7 @@ function commands.start(arg)
return 1;
end
- local ok, ret = prosodyctl.start();
+ local ok, ret = prosodyctl.start(prosody.paths.source);
if ok then
local daemonize = config.get("*", "daemonize");
if daemonize == nil then