mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-21 13:34:34 +03:00
sysroot: Use ostree/repo to check visibility
This commit is contained in:
parent
2bd95ea855
commit
04d36fafb1
@ -477,7 +477,7 @@ _ostree_sysroot_invisible (const OstreeSysroot *self, gboolean *out_val, GError
|
||||
g_assert (self->sysroot_fd >= 0);
|
||||
g_assert (self->root_is_ostree_booted);
|
||||
|
||||
if (!glnx_fstatat_allow_noent (self->sysroot_fd, "sysroot/ostree", NULL, 0, error))
|
||||
if (!glnx_fstatat_allow_noent (self->sysroot_fd, "ostree/repo", NULL, 0, error))
|
||||
return FALSE;
|
||||
|
||||
if (errno == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user