journal: set seal even for readonly journalfiles
journalctl needs to know wether the file has been sealed to be able to do verification.
This commit is contained in:
parent
585314e84c
commit
f1889c9119
|
@ -260,8 +260,7 @@ static int journal_file_verify_header(JournalFile *f) {
|
|||
|
||||
f->compress = JOURNAL_HEADER_COMPRESSED(f->header);
|
||||
|
||||
if (f->writable)
|
||||
f->seal = JOURNAL_HEADER_SEALED(f->header);
|
||||
f->seal = JOURNAL_HEADER_SEALED(f->header);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue