mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-25 10:04:14 +03:00
Merge pull request #3213 from rborn-tx/fix-early-prune
This commit is contained in:
commit
c314eaa90c
@ -2641,6 +2641,9 @@ auto_early_prune_old_deployments (OstreeSysroot *self, GPtrArray *new_deployment
|
|||||||
if (self->booted_deployment == NULL)
|
if (self->booted_deployment == NULL)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
if (!_ostree_sysroot_ensure_boot_fd (self, error))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
{
|
{
|
||||||
struct stat stbuf;
|
struct stat stbuf;
|
||||||
if (!glnx_fstatat (self->boot_fd, ".", &stbuf, 0, error))
|
if (!glnx_fstatat (self->boot_fd, ".", &stbuf, 0, error))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user