aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-09-12 01:48:51 +0200
committerKim Alvefur <zash@zash.se>2021-09-12 01:48:51 +0200
commitc340f18381720980ba579a36a69db52b0bef539d (patch)
treeb92eddc893dfe115f61471c03fa74e0118cef353
parentae7f6c34f0b2f00c616102a7c5fa3a9fe0ed9541 (diff)
downloadprosody-c340f18381720980ba579a36a69db52b0bef539d.tar.gz
prosody-c340f18381720980ba579a36a69db52b0bef539d.zip
util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
-rw-r--r--util/prosodyctl/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index 472ca4ce..9770403f 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -725,7 +725,7 @@ local function check(arg)
-- intentionally not doing this by default
if what == "connectivity" then
print(is_prosody_running())
- local ok, prosody_is_running = is_prosody_running();
+ local _, prosody_is_running = is_prosody_running();
if configmanager.get("*", "pidfile") and not prosody_is_running then
print("Prosody does not appear to be running, which is required for this test.");
print("Start it and then try again.");