diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-20 02:01:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-20 02:01:43 +0100 |
| commit | 5921a93d71dfc521facebd8dca910d4000bcafe7 (patch) | |
| tree | 588db2fad765706ae685a2f1bebb45309fd0354e /Source | |
| parent | eff566b318b790c535b170a6d7c514a5fa9d90e6 (diff) | |
| parent | 6dcf7643e50a257d4e79749d3fb60ea31e121d11 (diff) | |
Merge pull request #9247 from Dentomologist/fix-updater-temporary-folder
Fix updater not always cleaning up temp directory
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/UpdaterCommon/UpdaterCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UpdaterCommon/UpdaterCommon.cpp b/Source/Core/UpdaterCommon/UpdaterCommon.cpp index dc7318827a..7eadf14a19 100644 --- a/Source/Core/UpdaterCommon/UpdaterCommon.cpp +++ b/Source/Core/UpdaterCommon/UpdaterCommon.cpp @@ -755,10 +755,10 @@ bool RunUpdater(std::vector<std::string> args) UI::SetDescription("Performing Update..."); bool ok = PerformUpdate(todo, opts.install_base_path, opts.content_store_url, temp_dir); + CleanUpTempDir(temp_dir, todo); if (!ok) { FatalError("Failed to apply the update."); - CleanUpTempDir(temp_dir, todo); return false; } |
