Software /
code /
prosody
Changeset
12381:d999c2b3e289
prosodyctl: check turn: fix formatting of multiple warnings
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 05 Mar 2022 20:31:17 +0000 |
parents | 12380:3a702f37e87c |
children | 12382:574cf096a426 |
files | util/prosodyctl/check.lua |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Sat Mar 05 16:07:47 2022 +0000 +++ b/util/prosodyctl/check.lua Sat Mar 05 20:31:17 2022 +0000 @@ -1250,8 +1250,9 @@ 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