Skip to content
Permalink
Browse files
Merge pull request #9247 from Dentomologist/fix-updater-temporary-folder
Fix updater not always cleaning up temp directory
  • Loading branch information
leoetlino committed Nov 20, 2020
2 parents eff566b + 6dcf764 commit 5921a93
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;
}

0 comments on commit 5921a93

Please sign in to comment.