diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-21 19:17:31 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-21 19:17:31 +0100 |
commit | ece1e74b938d6529103edacbdbc51f8ce62fd6f9 (patch) | |
tree | a2c9209d133302776d4c4445ca9c99ac59a3c17b /util | |
parent | f33c04b487373b6158556a4f80f67da19f209cc5 (diff) | |
download | prosody-ece1e74b938d6529103edacbdbc51f8ce62fd6f9.tar.gz prosody-ece1e74b938d6529103edacbdbc51f8ce62fd6f9.zip |
util.prosodyctl: Rename unused variable to '_' [luacheck]
Diffstat (limited to 'util')
-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 |