diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-03 19:36:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-03 19:36:17 +0200 |
commit | f0fc620d2ac2fdec1c3e78cbae8052fd91e21a07 (patch) | |
tree | 96079e7d69625165f98ef59b40f259cb0605ddd4 /util | |
parent | 9e5bf4fc486527b33244ff2f929d8bfb7472d323 (diff) | |
download | prosody-f0fc620d2ac2fdec1c3e78cbae8052fd91e21a07.tar.gz prosody-f0fc620d2ac2fdec1c3e78cbae8052fd91e21a07.zip |
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.
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl/check.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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(""); |