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 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; }