journalctl: properly honour -n when -f is passed, too
This commit is contained in:
parent
468d726bdd
commit
62f21ec91a
8
TODO
8
TODO
|
@ -21,6 +21,14 @@ Bugfixes:
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
* systemctl journal command
|
||||||
|
|
||||||
|
* journalctl: --cursor support, priority filtering
|
||||||
|
|
||||||
|
* systemctl status: show coredumps
|
||||||
|
|
||||||
|
* systemctl status: show whether journal was rotated since service started
|
||||||
|
|
||||||
* save coredump in Windows/Mozilla minidump format
|
* save coredump in Windows/Mozilla minidump format
|
||||||
|
|
||||||
* support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
|
* support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
|
||||||
|
|
|
@ -152,7 +152,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg_follow && !arg_no_tail)
|
if (arg_follow && !arg_no_tail && arg_lines < 0)
|
||||||
arg_lines = 10;
|
arg_lines = 10;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue