mirror of
https://github.com/octoleo/restic.git
synced 2024-11-24 21:57:41 +00:00
walker: fix missing leaveDir if directory is partially skipped
This commit is contained in:
parent
261737abc8
commit
2c80cfa4a5
@ -68,7 +68,7 @@ func walk(ctx context.Context, repo restic.BlobLoader, prefix string, parentTree
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if err == ErrSkipNode {
|
if err == ErrSkipNode {
|
||||||
// skip the remaining entries in this tree
|
// skip the remaining entries in this tree
|
||||||
return nil
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user