mirror of
https://github.com/vbatts/dedupe-linker.git
synced 2025-07-27 12:30:28 +00:00
fixes
This commit is contained in:
parent
a023c98cd1
commit
e6cc87db96
2 changed files with 2 additions and 1 deletions
|
@ -68,6 +68,7 @@ func hashFile(path string, hash crypto.Hash, info os.FileInfo) *FileHashInfo {
|
|||
}
|
||||
if _, err = io.Copy(h, fh); err != nil {
|
||||
fhi.Err = err
|
||||
fh.Close()
|
||||
return &fhi
|
||||
}
|
||||
fh.Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue