mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
journald: don't try to roatet corrupted files when we open read-only anyway
This commit is contained in:
parent
5e62067d08
commit
27d1ae066c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user