From: Lennart Poettering Date: Thu, 15 Mar 2012 02:00:54 +0000 (+0100) Subject: journald: don't try to roatet corrupted files when we open read-only anyway X-Git-Tag: v44~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27d1ae066c31e01a2eaea82759f1ad71e86e0bac;p=systemd journald: don't try to roatet corrupted files when we open read-only anyway --- diff --git a/src/journal/journald.c b/src/journal/journald.c index 93cdec6c..74a58b04 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) {