aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-21 19:17:31 +0100
committerKim Alvefur <zash@zash.se>2021-01-21 19:17:31 +0100
commit7665c764b5cabd73798b89c50507767155df64e0 (patch)
treea2c9209d133302776d4c4445ca9c99ac59a3c17b
parent7d115edcbbf58c8b0155713a180ccdd6673d5198 (diff)
downloadprosody-7665c764b5cabd73798b89c50507767155df64e0.tar.gz
prosody-7665c764b5cabd73798b89c50507767155df64e0.zip
util.prosodyctl: Rename unused variable to '_' [luacheck]
-rw-r--r--util/prosodyctl.lua2
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