Diff

util/prosodyctl/check.lua @ 11782:d93107de52dd

util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 12 Sep 2021 01:48:51 +0200
parent 11780:98ae95235775
child 11783:7bf246e6792b
line wrap: on
line diff
--- 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.");