prosodyctl: Use the same runtime for starting prosody
authorKim Alvefur <zash@zash.se>
Thu, 10 Jan 2019 15:25:38 +0100
changeset 9786 d844e197eedf
parent 9785 161411a41377
child 9787 4c91afc43639
prosodyctl: Use the same runtime for starting prosody Improves the experience with the `make integration-test` command
prosodyctl
--- a/prosodyctl	Thu Jan 10 14:57:26 2019 +0100
+++ b/prosodyctl	Thu Jan 10 15:25:38 2019 +0100
@@ -222,7 +222,7 @@
 	end
 
 	--luacheck: ignore 411/ret
-	local ok, ret = prosodyctl.start(prosody.paths.source);
+	local ok, ret = prosodyctl.start(prosody.paths.source, arg[-1]);
 	if ok then
 		local daemonize = configmanager.get("*", "daemonize");
 		if daemonize == nil then