chiark / gitweb /
journalctl: clean up how we log errors
authorLennart Poettering <lennart@poettering.net>
Mon, 18 May 2015 22:25:45 +0000 (00:25 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 08:57:17 +0000 (09:57 +0100)
commit7aa263bce73215d1d839aa87f5bad388829cbb8a
tree158878a5eed4d9f636e87e57a204ee0b22bd5eb7
parentcce3553ecec825960739ad3a36e1630da54ce045
journalctl: clean up how we log errors

All functions should either log the errors they run into, or only return
them in which case the caller should log them.

Make sure this rule is followed, so that each error is logged precisely
once, and neither never, nor more than once.
src/shared/logs-show.c