From c340f18381720980ba579a36a69db52b0bef539d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 12 Sep 2021 01:48:51 +0200 Subject: util.prosodyctl.check: Ignore unused "ok" variable [luacheck] --- util/prosodyctl/check.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/prosodyctl/check.lua') 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."); -- cgit v1.2.3