walker: fix missing leaveDir if directory is partially skipped

This commit is contained in:
Michael Eischer 2024-01-21 16:43:32 +01:00
parent 261737abc8
commit 2c80cfa4a5
1 changed files with 1 additions and 1 deletions

View File

@ -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