Skip to content

Conversation

@Dogger21
Copy link

Replaced return err with explicit return nil in writeFileWithFsyncAndFlags function

Copy link
Contributor

@mh0lt mh0lt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove all of this with a simple

return f.Sync()

on line 141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants