fixes
This commit is contained in:
parent
a023c98cd1
commit
e6cc87db96
|
@ -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…
Reference in New Issue