mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
journalctl: use correct variable to check if --since is specified
(cherry picked from commit 20e933ae7404154f642fd5459c11532102f8a598) (cherry picked from commit f1ea9cd55e236d89b082529411f0d98776af2ba0)
This commit is contained in:
parent
03f6e54292
commit
46ee98edd5
@ -1036,7 +1036,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
assert_not_reached();
|
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;
|
arg_lines = 10;
|
||||||
|
|
||||||
if (arg_follow && !arg_merge && !arg_boot) {
|
if (arg_follow && !arg_merge && !arg_boot) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user