journalctl: fail and show error message when no boot ID found
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Apr 2024 05:22:41 +0000 (14:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 May 2024 02:43:57 +0000 (11:43 +0900)
commit5da5d848f9d5175998e8a1030d32a7edb3371956
tree38000fe16ab8b764239e4d1a25a6712bcd35e481
parent8f2bcb1fb292c75b627d749c90283daf27c38eef
journalctl: fail and show error message when no boot ID found

No boot ID in journal should be definitly spurious.
Let's warn about that and exit with failure.
src/journal/journalctl-misc.c