-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the cleanup before downloading
Since renaming the existing (reuse failed) file to the tmp file then asking the sync function to reuse it again introduces more potential errors with little gain, we decide to directly do clean up if the 1st reusage fails. Signed-off-by: Shuo Wu <shuo.wu@suse.com>
- Loading branch information
Showing
1 changed file
with
4 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters