journal: set flushed flag even if we fail to open runtime journals
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Aug 2024 05:18:21 +0000 (14:18 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 5 Aug 2024 09:27:20 +0000 (11:27 +0200)
commitb55027efe41b266df4c4704e924fff7dfb32ad70
treec62a6edc06ee382fd852557085d557215e604c2c
parent2d00f4c306b4a5c3edef44e17c9efcf10cfb5d9b
journal: set flushed flag even if we fail to open runtime journals

As at this stage, a persistent journal file has been already opened, and
saved seqnum has been reset, and any later journal entries will be stored
to the file. Hence we should not open the runtime journal file by
server_system_journal_open() again.
src/journal/journald-server.c