Commit 0a37ff63 authored by Ondřej Lysoněk's avatar Ondřej Lysoněk

tuned-adm: Don't print superfluous newline after log messages

Signed-off-by: default avatarOndřej Lysoněk <olysonek@redhat.com>
parent 6c1df704
......@@ -234,7 +234,8 @@ class Admin(object):
log_msgs = self._controller.log_capture_finish(
self._log_token)
self._log_token = None
self._error(log_msgs)
print(log_msgs, end = "", file = sys.stderr)
sys.stderr.flush()
except TunedAdminDBusException as e:
self._error("Error: Failed to stop log capture. Restart the Tuned daemon to prevent a memory leak.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment