chiark / gitweb /
journald: don't complain if fss key does not exist
[elogind.git] / src / journal / journal-authenticate.c
index 586daf34cd879d62bd0d4d93a7aa439d5b018f65..593bf7eb2ac0d95fd568f7ac62bcff91357116cd 100644 (file)
@@ -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;
         }