From f0fc620d2ac2fdec1c3e78cbae8052fd91e21a07 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 3 May 2022 19:36:17 +0200 Subject: util.prosodyctl.check: turn: Report lack of TURN services as a problem #1749 Rationale: It seems unlikely that someone who has not configured any TURN service runs 'prosodyctl check turn' expecting this to be okay. --- util/prosodyctl/check.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index cdea04b9..e7e362e1 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -1277,6 +1277,7 @@ local function check(arg) local count = it.count(pairs(turn_services)); if count == 0 then print("Error: Unable to find any TURN services configured. Enable mod_turn_external!"); + ok = false; else print("Identified "..tostring(count).." TURN services."); print(""); -- cgit v1.2.3