util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
authorKim Alvefur <zash@zash.se>
Sun, 12 Sep 2021 01:48:51 +0200
changeset 11786 d93107de52dd
parent 11785 9c23e7c8a67a
child 11787 7bf246e6792b
util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
util/prosodyctl/check.lua
--- a/util/prosodyctl/check.lua	Sun Sep 12 01:38:33 2021 +0200
+++ b/util/prosodyctl/check.lua	Sun Sep 12 01:48:51 2021 +0200
@@ -725,7 +725,7 @@
 	-- 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.");