projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0165f
)
journalctl: use correct variable to check if --since is specified
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 4 May 2023 00:42:42 +0000
(09:42 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 28 May 2023 05:52:32 +0000
(14:52 +0900)
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index d5172a38422c823a89c3943cbf2afdb6c4f1b6bd..b59791d437a0d433f6ad644fbb93a8ce5cc6c324 100644
(file)
--- a/
src/journal/journalctl.c
+++ b/
src/journal/journalctl.c
@@
-1047,7
+1047,7
@@
static int parse_argv(int argc, char *argv[]) {
assert_not_reached();
}
- if (arg_follow && !arg_no_tail && !arg_since && arg_lines == ARG_LINES_DEFAULT)
+ if (arg_follow && !arg_no_tail && !arg_since
_set
&& arg_lines == ARG_LINES_DEFAULT)
arg_lines = 10;
if (arg_follow && !arg_merge && !arg_boot) {