Skip to content

Commit 46ee98e

Browse files
yuwatabluca
authored andcommitted
journalctl: use correct variable to check if --since is specified
(cherry picked from commit 20e933a) (cherry picked from commit f1ea9cd)
1 parent 03f6e54 commit 46ee98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/journal/journalctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ static int parse_argv(int argc, char *argv[]) {
10361036
assert_not_reached();
10371037
}
10381038

1039-
if (arg_follow && !arg_no_tail && !arg_since && arg_lines == ARG_LINES_DEFAULT)
1039+
if (arg_follow && !arg_no_tail && !arg_since_set && arg_lines == ARG_LINES_DEFAULT)
10401040
arg_lines = 10;
10411041

10421042
if (arg_follow && !arg_merge && !arg_boot) {

0 commit comments

Comments
 (0)