From 1e4a0ebba24834980440a61636601732b762e397 Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Thu, 10 Jan 2019 15:25:38 +0100
Subject: prosodyctl: Use the same runtime for starting prosody

Improves the experience with the `make integration-test` command
---
 prosodyctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prosodyctl b/prosodyctl
index ecf00baa..0ff03a7b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -222,7 +222,7 @@ function commands.start(arg)
 	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
-- 
cgit v1.2.3