1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-22 22:03:43 +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:
Yu Watanabe 2023-05-04 09:42:42 +09:00 committed by Luca Boccassi
parent 03f6e54292
commit 46ee98edd5

View File

@ -1036,7 +1036,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) {