Skip to content

Commit

Permalink
feat:[close #107]: implement a ABROOT_FREE_SPACE env var to delete .s…
Browse files Browse the repository at this point in the history
…ystem
  • Loading branch information
mirkobrombin committed Aug 18, 2023
1 parent 416837a commit d686b34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,11 @@ func (s *ABSystem) RunOperation(operation ABSystemOperation) error {
PrintVerbose("ABSystemRunOperation:err(4.0): %s", err)
return err
}
err = os.MkdirAll(systemOld, 0755)
if err != nil {
PrintVerbose("ABSystemRunOperation:err(4.0.1): %s", err)
return err
}
}

err = OciExportRootFs(
Expand Down

0 comments on commit d686b34

Please sign in to comment.