Diff

prosodyctl @ 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
parent 9780:c7727c13260f
child 9794:4b5c24f13d4a
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