mirror of
https://github.com/restic/restic.git
synced 2025-04-24 17:51:29 +00:00
Merge pull request #2864 from greatroar/dump-error
Fix error handling in dump (err != err)
This commit is contained in:
commit
38a2f9c07b
@ -224,7 +224,7 @@ func tarTree(ctx context.Context, repo restic.Repository, rootNode *restic.Node,
|
|||||||
|
|
||||||
if node.Type == "file" || node.Type == "symlink" || node.Type == "dir" {
|
if node.Type == "file" || node.Type == "symlink" || node.Type == "dir" {
|
||||||
err := tarNode(ctx, tw, node, repo)
|
err := tarNode(ctx, tw, node, repo)
|
||||||
if err != err {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user