chiark / gitweb /
journald: don't try to roatet corrupted files when we open read-only anyway
[elogind.git] / src / journal / journald.c
index 93cdec6c6c6dacebdec54994c30c80012aea21cf..74a58b04623b432e518914d4f879b9aa3dbb38da 100644 (file)
@@ -1918,7 +1918,7 @@ static int system_journal_open(Server *s) {
                          * if it already exists, so that we can flush
                          * it into the system journal */
 
-                        r = journal_file_open_reliably(fn, O_RDWR, 0640, NULL, &s->runtime_journal);
+                        r = journal_file_open(fn, O_RDWR, 0640, NULL, &s->runtime_journal);
                         free(fn);
 
                         if (r < 0) {