mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 14:17:42 +00:00
restore: Fix linting error
This commit is contained in:
parent
e62d4f622f
commit
921e328b56
@ -375,7 +375,9 @@ func (res *Restorer) verifyFile(target string, node *restic.Node, buf []byte) ([
|
||||
if err != nil {
|
||||
return buf, err
|
||||
}
|
||||
defer f.Close()
|
||||
defer func() {
|
||||
_ = f.Close()
|
||||
}()
|
||||
|
||||
fi, err := f.Stat()
|
||||
switch {
|
||||
|
Loading…
Reference in New Issue
Block a user