journald: don't try to roatet corrupted files when we open read-only anyway

This commit is contained in:
Lennart Poettering 2012-03-15 03:00:54 +01:00
parent 5e62067d08
commit 27d1ae066c
1 changed files with 1 additions and 1 deletions

View 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) {