forked from TrueCloudLab/restic
Fix error handling in dump (err != err)
This commit is contained in:
parent
66d089e239
commit
8b358935a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue