Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset tail offset by -1 when starting and resetting journal pointer.
Our journald API usage was incorrect causing our tail pointer to stick after the last received entry, causing us to receive no additional events at all. The `sd_journal_next` API states that we should always assume that we reset to the previous entry after `sd_journal_seek_tail` and this corrects the behavior that many are seeing where tallow just isn't doing anything at all. This addresses clearlinux#25 from clearlinux/tallow. Tested on F41. Signed-off-by: Auke Kok <[email protected]>
- Loading branch information