From 27d1ae066c31e01a2eaea82759f1ad71e86e0bac Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Mar 2012 03:00:54 +0100 Subject: [PATCH] journald: don't try to roatet corrupted files when we open read-only anyway --- src/journal/journald.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journald.c b/src/journal/journald.c index 93cdec6c6c..74a58b0462 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -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) {