]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virLXCProcessReportStartupLogError: Strip trailing newline from error
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Aug 2023 07:25:22 +0000 (09:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 4 Aug 2023 08:04:21 +0000 (10:04 +0200)
commit2b63b64ad91f51e42db2fb903fc79f3a0cf6d5db
treef196d1a633e38f640f281e2075be0e197461355e
parent1f8558cf9a32dea4ec785d060317acc84e485155
virLXCProcessReportStartupLogError: Strip trailing newline from error

Since the error message originates from a log file it contains a
trailing newline. Strip it as all error handling adds it's own newline.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/lxc/lxc_process.c