mirror of
https://github.com/restic/restic.git
synced 2025-03-13 14:30:52 +00:00

If there is an error, file will be `nil`. We should check the returned error before deferring file `Close()`.
If there is an error, file will be `nil`. We should check the returned error before deferring file `Close()`.