diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-05 20:31:17 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-05 20:31:17 +0000 |
commit | 08777eb3d66c3e47ef421ee7a82d3c32490321d9 (patch) | |
tree | ecf5106eab7c650e7ac849dc709f4fcb03e1d8f8 /util | |
parent | c2af455ac030d6b26737c1de70d1147825901548 (diff) | |
download | prosody-08777eb3d66c3e47ef421ee7a82d3c32490321d9.tar.gz prosody-08777eb3d66c3e47ef421ee7a82d3c32490321d9.zip |
prosodyctl: check turn: fix formatting of multiple warnings
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl/check.lua | 5 |
1 files 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 |