Skip to content

Commit

Permalink
Merge pull request #3213 from rborn-tx/fix-early-prune
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Mar 13, 2024
2 parents 223a1af + 4efb44f commit c314eaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libostree/ostree-sysroot-deploy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2641,6 +2641,9 @@ auto_early_prune_old_deployments (OstreeSysroot *self, GPtrArray *new_deployment
if (self->booted_deployment == NULL)
return TRUE;

if (!_ostree_sysroot_ensure_boot_fd (self, error))
return FALSE;

{
struct stat stbuf;
if (!glnx_fstatat (self->boot_fd, ".", &stbuf, 0, error))
Expand Down

0 comments on commit c314eaa

Please sign in to comment.