Skip to content

Commit f6234a5

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) (cherry picked from commit 46ee98e)
1 parent 43c49bb commit f6234a5

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
@@ -1059,7 +1059,7 @@ static int parse_argv(int argc, char *argv[]) {
10591059
assert_not_reached();
10601060
}
10611061

1062-
if (arg_follow && !arg_no_tail && !arg_since && arg_lines == ARG_LINES_DEFAULT)
1062+
if (arg_follow && !arg_no_tail && !arg_since_set && arg_lines == ARG_LINES_DEFAULT)
10631063
arg_lines = 10;
10641064

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

0 commit comments

Comments
 (0)