From 08777eb3d66c3e47ef421ee7a82d3c32490321d9 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 5 Mar 2022 20:31:17 +0000 Subject: prosodyctl: check turn: fix formatting of multiple warnings --- util/prosodyctl/check.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 903bada0..c09acc55 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -1250,8 +1250,9 @@ local function check(arg) local result = check_turn_service(turn_service, opts.ping); if #result.warnings > 0 then - print(("%d warnings:\n\n "):format(#result.warnings)); - print(table.concat(result.warnings, "\n ")); + print(("%d warnings:\n"):format(#result.warnings)); + print(" "..table.concat(result.warnings, "\n ")); + print(""); end if opts.verbose then -- cgit v1.2.3