Skip to content

Commit

Permalink
Merge pull request #307 from taigrr/hugepages-demote
Browse files Browse the repository at this point in the history
Fix #306
  • Loading branch information
ffromani authored Mar 21, 2022
2 parents b55aa0e + f031448 commit c82d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/snapshot/clonetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func copyFileTreeInto(paths []string, destDir string, opts *CopyFileOptions) err
}
} else {
trace(" copying file: %q -> %q\n", path, destPath)
if err := copyPseudoFile(path, destPath); err != nil {
if err := copyPseudoFile(path, destPath); err != nil && !errors.Is(err, os.ErrPermission) {
return err
}
}
Expand Down

0 comments on commit c82d7b1

Please sign in to comment.