mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-18 10:04:17 +03:00
Merge pull request #3244 from alexlarsson/fix-fsverity-supported
Fix _ostree_ensure_fsverity reporting of supports in early exit
This commit is contained in:
commit
664116f03a
@ -229,6 +229,9 @@ _ostree_ensure_fsverity (OstreeRepo *self, gboolean allow_enoent, int dirfd, con
|
||||
struct stat buf;
|
||||
gboolean supported;
|
||||
|
||||
if (supported_out)
|
||||
*supported_out = TRUE;
|
||||
|
||||
if (fstatat (dirfd, path, &buf, AT_SYMLINK_NOFOLLOW) != 0)
|
||||
{
|
||||
if (errno == ENOENT && allow_enoent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user