Skip to content

Commit

Permalink
Fix HashFD close
Browse files Browse the repository at this point in the history
  • Loading branch information
fcharlie authored May 14, 2024
1 parent d1fc3a8 commit 1ada7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack/stgz.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (fd *HashFD) Close() error {
if fd == nil || fd.File == nil {
return nil
}
return fd.Close()
return fd.File.Close()
}

// Sum hash sum
Expand Down

0 comments on commit 1ada7ce

Please sign in to comment.