Skip to content

Commit f1ea9cd

Browse files
yuwatakeszybz
authored andcommitted
journalctl: use correct variable to check if --since is specified
(cherry picked from commit 20e933a)
1 parent 0227947 commit f1ea9cd

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
@@ -1035,7 +1035,7 @@ static int parse_argv(int argc, char *argv[]) {
10351035
assert_not_reached();
10361036
}
10371037

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

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

0 commit comments

Comments
 (0)