mirror of
https://github.com/restic/restic.git
synced 2025-08-23 05:07:26 +00:00
restore: Fix linting error
This commit is contained in:
@@ -375,7 +375,9 @@ func (res *Restorer) verifyFile(target string, node *restic.Node, buf []byte) ([
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return buf, err
|
return buf, err
|
||||||
}
|
}
|
||||||
defer f.Close()
|
defer func() {
|
||||||
|
_ = f.Close()
|
||||||
|
}()
|
||||||
|
|
||||||
fi, err := f.Stat()
|
fi, err := f.Stat()
|
||||||
switch {
|
switch {
|
||||||
|
Reference in New Issue
Block a user