summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-15 03:00:54 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-15 03:01:09 +0100
commit27d1ae066c31e01a2eaea82759f1ad71e86e0bac (patch)
tree210710722271d0e777aedcb29b196caefd3d17de /src/journal
parent5e62067d08d989ab98b12497a9b27a877de8515b (diff)
journald: don't try to roatet corrupted files when we open read-only anyway
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
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) {