Diff

prosodyctl @ 8668:31c5abd49dfe

prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable
author Matthew Wild <mwild1@gmail.com>
date Thu, 22 Mar 2018 21:54:59 +0000
parent 8652:03bb534593cb
child 8671:a4899174a894
line wrap: on
line diff
--- a/prosodyctl	Thu Mar 22 21:47:16 2018 +0000
+++ b/prosodyctl	Thu Mar 22 21:54:59 2018 +0000
@@ -219,7 +219,7 @@
 		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