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 <bluca@debian.org>
Thu, 15 Aug 2024 13:04:41 +0000 (14:04 +0100)
commitc0d45f8ec6c2a8d10778485c7c51b1cecdb6186c
tree05c408c456b47f4570f68447138ff9ad34d64e2c
parent8d5806b1e22798d8ee18b889af47568f5fccf3ed
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.

(cherry picked from commit b55027efe41b266df4c4704e924fff7dfb32ad70)
src/journal/journald-server.c