Skip to content
Snippets Groups Projects

Fix journalctl cursor use

Merged Walter Lozano requested to merge wip/wlozano/cursor into apertis/v2024dev1
  1. Jan 06, 2023
    • Walter Lozano's avatar
      Fix journalctl cursor use · 2e59623a
      Walter Lozano authored
      
      Using --after-cursor in combination with -t audit does produces the expected
      output since the filtering logic is applied before and after that the cursor
      is moved to next valid entry. In this case, using --after-cursor will cause
      the output to miss the first entry in the log.
      
      Fix the issue by using --cursor instead.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      2e59623a
Loading