From: Yu Watanabe Date: Thu, 4 May 2023 00:42:42 +0000 (+0900) Subject: journalctl: use correct variable to check if --since is specified X-Git-Tag: v254-rc1~337^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e933ae7404154f642fd5459c11532102f8a598;p=thirdparty%2Fsystemd.git journalctl: use correct variable to check if --since is specified --- diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index d5172a38422..b59791d437a 100644 --- 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) {