diff options
-rw-r--r-- | util/prosodyctl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index f659d7f4..f47c54da 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -221,7 +221,7 @@ local render_cli = interpolation.new("%b{}", function (s) return "'"..s:gsub("'" local function call_luarocks(operation, mod, server) local dir = prosody.paths.installer; - local ok, where, code = os.execute(render_cli("luarocks {op} --tree={dir} {server&--server={server}} {mod?}", { + local ok, _, code = os.execute(render_cli("luarocks {op} --tree={dir} {server&--server={server}} {mod?}", { dir = dir; op = operation; mod = mod; server = server; })); if type(ok) == "number" then ok, code = ok == 0, ok; end |