util.prosodyctl: Rename unused variable to '_' [luacheck]
authorKim Alvefur <zash@zash.se>
Thu, 21 Jan 2021 19:17:31 +0100
changeset 11302 79466cc86041
parent 11301 2e9d4c517919
child 11303 abe8cd8fad14
util.prosodyctl: Rename unused variable to '_' [luacheck]
util/prosodyctl.lua
--- a/util/prosodyctl.lua	Thu Jan 21 19:16:24 2021 +0100
+++ b/util/prosodyctl.lua	Thu Jan 21 19:17:31 2021 +0100
@@ -221,7 +221,7 @@
 
 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