Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copyFile: Don't ignore Close() errors on writable file
This follows the advice from https://www.joeshaw.org/dont-defer-close-on-writable-files/ Write() is not fully synchronous, so some errors writing the file may only be reported at Close() time.
- Loading branch information