summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/UpdaterCommon/UpdaterCommon.cpp2
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;
}