journalct: allow --boot=0 to DTRT with --file/--directory
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Jun 2016 20:12:47 +0000 (16:12 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 28 Jun 2016 20:19:59 +0000 (16:19 -0400)
commit592855c3189549fed93b1060b72299910c6ab1d0
treed6100b14bde2b8d4817ade3a9f697d798f94efe4
parent07ff6b0823adc82bead4e73a9c3659ed1bab9801
journalct: allow --boot=0 to DTRT with --file/--directory

--boot=0 magically meant "this boot", but when used with --file/--directory it
should simply refer to the last boot found in the specified journal. This way,
--boot and --list-boots are consistent.

Fixes #3603.
src/journal/journalctl.c