summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-10 13:18:22 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-10 13:18:22 +0200
commit272410e1790cb407bcedee4e5dfaac3f625957af (patch)
treed1a82ad42d6b9fcc2f3fb4552927e5e298a0989f /src/journal
parent2f6f1bc30c528ca7346b4c93f08b65682aa2876f (diff)
journald: don't complain if fss key does not exist
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-authenticate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal/journal-authenticate.c b/src/journal/journal-authenticate.c
index 586daf34cd..593bf7eb2a 100644
--- a/src/journal/journal-authenticate.c
+++ b/src/journal/journal-authenticate.c
@@ -328,7 +328,9 @@ int journal_file_fss_load(JournalFile *f) {
fd = open(p, O_RDWR|O_CLOEXEC|O_NOCTTY, 0600);
if (fd < 0) {
- log_error("Failed to open %s: %m", p);
+ if (errno != ENOENT)
+ log_error("Failed to open %s: %m", p);
+
r = -errno;
goto finish;
}