projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebb69b
)
journal: Don't discard -b arg when followed by -e
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Thu, 13 Jan 2022 13:26:25 +0000
(13:26 +0000)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 13 Jan 2022 16:10:22 +0000
(
01:10
+0900)
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
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index d564d542d48012a609a85484b2d589c1b9ae8ee0..3c4a7c0a7a5b6d32b7b3a529a4fb79ebe7cc2925 100644
(file)
--- a/
src/journal/journalctl.c
+++ b/
src/journal/journalctl.c
@@
-552,8
+552,6
@@
static int parse_argv(int argc, char *argv[]) {
arg_lines = 1000;
arg_boot = true;
- arg_boot_id = SD_ID128_NULL;
- arg_boot_offset = 0;
break;