journal: Don't discard -b arg when followed by -e
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 13 Jan 2022 13:26:25 +0000 (13:26 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Jan 2022 16:10:22 +0000 (01:10 +0900)
commit4d6455c0754e31ddc9590c7b9c9a373d82ec0ed4
tree46def2ac1c594638154c4fa9ba6ee18535ec414a
parent2ebb69bc09e84c48072e8ec5faa8251dcd705282
journal: Don't discard -b arg when followed by -e

Allowing -e to be used to view the last logs of a previous boot seems
like a useful feature so let's not discard -b options anymore when
followed by -e.

Fixes #22107
src/journal/journalctl.c