local: remove double Close()
This commit is contained in:
parent
0cbd59856c
commit
a849edf19a
1 changed files with 0 additions and 1 deletions
|
@ -118,7 +118,6 @@ func (b *Local) Save(h restic.Handle, rd io.Reader) (err error) {
|
|||
|
||||
err = f.Close()
|
||||
if err != nil {
|
||||
f.Close()
|
||||
return errors.Wrap(err, "Close")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue