1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-08 21:17:47 +03:00

journal: Don't discard -b arg when followed by -e

Allowing -e to be used to view the last logs of a previous boot seems
like a useful feature so let's not discard -b options anymore when
followed by -e.

Fixes #22107
This commit is contained in:
Daan De Meyer 2022-01-13 13:26:25 +00:00 committed by Yu Watanabe
parent 2ebb69bc09
commit 4d6455c075

View File

@ -552,8 +552,6 @@ static int parse_argv(int argc, char *argv[]) {
arg_lines = 1000; arg_lines = 1000;
arg_boot = true; arg_boot = true;
arg_boot_id = SD_ID128_NULL;
arg_boot_offset = 0;
break; break;