mirror of
https://github.com/restic/restic.git
synced 2026-10-08 03:17:12 +00:00
restore: Fix linting error
This commit is contained in:
1 parent
e62d4f622f
commit
921e328b56
1 file changed
+3
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user