_ostree_ensure_fsverity: Properly check for errors
authorAlexander Larsson <alexl@redhat.com>
Mon, 8 Apr 2024 15:05:23 +0000 (17:05 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 8 Apr 2024 15:05:23 +0000 (17:05 +0200)
commit374fb05d0eab6f889460f9517d47f1f9b4207bfa
tree1726da70c60206b4612f2398a36dda7050461fdf
parentd05c48b746173ed0d414625fab0c94589c722380
_ostree_ensure_fsverity: Properly check for errors

If fs_verity_wanted == _OSTREE_FEATURE_YES we should fail if
!suported, but we were checking !supported where supported is a
pointer, not a boolean. This caused us to miss errors when the kernel
didn't support fs-verity that lead to lots of debugging.
src/libostree/ostree-repo-verity.c