mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 22:58:26 +00:00
c2ff7150aa
If there is an error, file will be `nil`. We should check the returned error before deferring file `Close()`.