summaryrefslogtreecommitdiff
path: root/src/basic/random-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-02 23:37:05 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-03 00:02:00 +0100
commit5768d2594940668506bb4cafa078f654cc20dc5a (patch)
tree67335560fb4b17959fe2b55b54084d47d004e33d /src/basic/random-util.h
parentd617408ecbe69db69aefddfcb10a6c054ea46ba0 (diff)
journalctl: when we fail to open a journal file, print why
When we enumerate journal files and encounter an invalid one, remember which this, and show it to the user. Note the possibly slightly surprising logic here: we store only one path per error code. This means we show all error kinds but not every actual error we encounter. This has the benefit of not requiring us to keep a potentially unbounded list of errors with their sources around, but can still provide a pretty complete overview on the errors we encountered. Fixes #1669.
Diffstat (limited to 'src/basic/random-util.h')
0 files changed, 0 insertions, 0 deletions