Changeset

9782:d844e197eedf

prosodyctl: Use the same runtime for starting prosody Improves the experience with the `make integration-test` command
author Kim Alvefur <zash@zash.se>
date Thu, 10 Jan 2019 15:25:38 +0100
parents 9781:161411a41377
children 9783:4c91afc43639
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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