]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: port --machine= switch to use machined's OpenMachineRootDirectory()
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 09:21:46 +0000 (11:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 17:29:01 +0000 (19:29 +0200)
commitd38c62cc76a14d9a91edd8d27aa4cdcd0edc5eec
tree842cdbee72ada9464249814f6b91638bfa9db528
parentd077390cdf13fc74c0f42dae959e1b5751c3b6a3
journalctl: port --machine= switch to use machined's OpenMachineRootDirectory()

This way, the switch becomes compatible with nspawn containers using --image=,
and those which only store journal data in /run (i.e. have persistant logs
off).

Fixes: #49
src/journal/journalctl.c