tuned-adm: Don't print superfluous newline after log messages
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
parent
6c1df704ce
commit
0a37ff6373
1 changed files with 2 additions and 1 deletions
|
|
@ -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.")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue