forked from TrueCloudLab/restic
sftp: ignore error
This commit is contained in:
parent
554013ca9f
commit
9271b3662a
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ func (r *SFTP) Save(h restic.Handle, rd io.Reader) (err error) {
|
|||
// save data
|
||||
_, err = io.Copy(f, rd)
|
||||
if err != nil {
|
||||
f.Close()
|
||||
_ = f.Close()
|
||||
return errors.Wrap(err, "Write")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue