Software /
code /
prosody
Changeset
12488:3183f358a88f 0.12
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 03 May 2022 19:36:17 +0200 |
parents | 12479:4d36fbcdd210 |
children | 12489:8b42575738f0 |
files | util/prosodyctl/check.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Wed Apr 27 17:18:46 2022 +0200 +++ b/util/prosodyctl/check.lua Tue May 03 19:36:17 2022 +0200 @@ -1277,6 +1277,7 @@ 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("");