mirror of
https://github.com/restic/restic.git
synced 2025-10-10 11:32:17 +00:00
archiver: remove unused fileInfo from progress callback
This commit is contained in:
@@ -114,7 +114,7 @@ func (s *TreeSaver) save(ctx context.Context, snPath string, node *restic.Node,
|
||||
// return the error if it wasn't ignored
|
||||
if fn.err != nil {
|
||||
debug.Log("err for %v: %v", fn.snPath, fn.err)
|
||||
fn.err = s.errFn(fn.target, fn.fi, fn.err)
|
||||
fn.err = s.errFn(fn.target, fn.err)
|
||||
if fn.err == nil {
|
||||
// ignore error
|
||||
continue
|
||||
|
Reference in New Issue
Block a user