Module: check_mk
Branch: master
Commit: 93c18b4f4f3503bf96188be61513d711a9d17edd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=93c18b4f4f3503…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Aug 28 16:20:15 2018 +0200
Add missing newline to error messages in "cmk -d" output
FEED-931
Change-Id: If323c52d621076146ca09fa4e780f2621a220cd3
---
cmk_base/modes/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk_base/modes/check_mk.py b/cmk_base/modes/check_mk.py
index f87edf5..27ae0ba 100644
--- a/cmk_base/modes/check_mk.py
+++ b/cmk_base/modes/check_mk.py
@@ -365,7 +365,7 @@ def mode_dump_agent(hostname):
for source in sources.get_data_sources():
source_state, source_output, _source_perfdata = source.get_summary_result()
if source_state != 0:
- console.error("ERROR [%s]: %s" % (source.id(), source_output))
+ console.error("ERROR [%s]: %s\n" % (source.id(),
source_output))
has_errors = True
console.output(output)