diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-01-18 12:18:05 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-01-26 21:16:00 +0100 |
commit | 57e97246cd391f9715e3e56c9bbd798dbc333e39 (patch) | |
tree | e7b5243ffc33714214de31db13e75275bcdfe2c0 /src/libsystemd/sd-journal/journal-file.c | |
parent | journal: Use offsetof(Object, ...) to retrieve object field offsets (diff) | |
download | systemd-57e97246cd391f9715e3e56c9bbd798dbc333e39.tar.xz systemd-57e97246cd391f9715e3e56c9bbd798dbc333e39.zip |
journal: Log error when keyed hash env variable cannot be parsed
Diffstat (limited to '')
-rw-r--r-- | src/libsystemd/sd-journal/journal-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c index df34da4e20..9fe4f941ce 100644 --- a/src/libsystemd/sd-journal/journal-file.c +++ b/src/libsystemd/sd-journal/journal-file.c @@ -3274,7 +3274,7 @@ int journal_file_open( r = getenv_bool("SYSTEMD_JOURNAL_KEYED_HASH"); if (r < 0) { if (r != -ENXIO) - log_debug_errno(r, "Failed to parse $SYSTEMD_JOURNAL_KEYED_HASH environment variable, ignoring."); + log_debug_errno(r, "Failed to parse $SYSTEMD_JOURNAL_KEYED_HASH environment variable, ignoring: %m"); f->keyed_hash = true; } else f->keyed_hash = r; |