aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-12 12:28:18 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-15 13:27:04 -0400
commit9dc8b2f03c40fed7d1f0e67cb8cd387c1674ecb1 (patch)
treef1e637dcf1983ae17188e220d730756bc914b606 /src/core/file_sys
parentc530630c1c3e8bfe8fdf1e67b5685d0e2e604985 (diff)
Use proper install result when overwriting files
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/registered_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index 0f4d52d35f..92417ef705 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -643,7 +643,7 @@ InstallResult RegisteredCache::InstallEntry(const NSP& nsp, bool overwrite_if_ex
Refresh();
if (result) {
- return InstallResult::ErrorAlreadyExists;
+ return InstallResult::OverwriteExisting;
}
return InstallResult::Success;
}