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 | 7665c764b5cabd73798b89c50507767155df64e0 (patch) | |
tree | a2c9209d133302776d4c4445ca9c99ac59a3c17b /util/prosodyctl.lua | |
parent | 7d115edcbbf58c8b0155713a180ccdd6673d5198 (diff) | |
download | prosody-7665c764b5cabd73798b89c50507767155df64e0.tar.gz prosody-7665c764b5cabd73798b89c50507767155df64e0.zip |
util.prosodyctl: Rename unused variable to '_' [luacheck]
Diffstat (limited to 'util/prosodyctl.lua')
-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 |