]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journalctl.c
journalctl: respect --after-cursor semantics with --follow in all cases
authorWesley Dawson <whd@mozilla.com>
Mon, 1 Dec 2014 07:27:00 +0000 (23:27 -0800)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Dec 2014 01:40:16 +0000 (02:40 +0100)
commit8ee8e53648bf45854d92b60e1e70c17a0cec3c3d
tree9bb74da1373b76a67c576ed9e84c3bb7c990445d
parentb1491eba40715438b0ac874f2be79d5622b971e1
journalctl: respect --after-cursor semantics with --follow in all cases

In the case where no entries have been added to the journal after the specified
cursor, set need_seek before the main loop to prevent display of the entry at
said cursor.
src/journal/journalctl.c