Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Nov 1, 2023
1 parent 3e737a4 commit 657ff16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/object/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func walk(path string, info os.FileInfo, isSymlink bool, walkFn WalkFunc) error
}
if os.IsPermission(err) {
logger.Warnf("skip %s: %s", path, err)
continue
break
}
if err != nil && err != filepath.SkipDir && !os.IsNotExist(err) {
return err
Expand Down

0 comments on commit 657ff16

Please sign in to comment.