mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 10:05:25 +00:00
local: remove double Close()
This commit is contained in:
parent
0cbd59856c
commit
a849edf19a
@ -118,7 +118,6 @@ func (b *Local) Save(h restic.Handle, rd io.Reader) (err error) {
|
|||||||
|
|
||||||
err = f.Close()
|
err = f.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
f.Close()
|
|
||||||
return errors.Wrap(err, "Close")
|
return errors.Wrap(err, "Close")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user