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
commitece1e74b938d6529103edacbdbc51f8ce62fd6f9 (patch)
treea2c9209d133302776d4c4445ca9c99ac59a3c17b
parentf33c04b487373b6158556a4f80f67da19f209cc5 (diff)
downloadprosody-ece1e74b938d6529103edacbdbc51f8ce62fd6f9.tar.gz
prosody-ece1e74b938d6529103edacbdbc51f8ce62fd6f9.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