Changeset

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
parents 11781:9c23e7c8a67a
children 11783:7bf246e6792b
files util/prosodyctl/check.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.");