diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-07-15 14:44:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 08:44:14 -0400 |
| commit | c666f9d0501bbe0235315d2c2e668ec6f86eb345 (patch) | |
| tree | e8758e72158eac1bda66aecc4851ac1d4f01a249 /Emby.Server.Implementations/IO | |
| parent | 5e840c1db62d2ec86b2fdaee02d6b0521368bbfc (diff) | |
Use real temp dir instead of cache dir for temp files (#12226)
Diffstat (limited to 'Emby.Server.Implementations/IO')
| -rw-r--r-- | Emby.Server.Implementations/IO/ManagedFileSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs index 250bec9ea..28bb29df8 100644 --- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs +++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs @@ -466,7 +466,7 @@ namespace Emby.Server.Implementations.IO File.Copy(file1, temp1, true); File.Copy(file2, file1, true); - File.Copy(temp1, file2, true); + File.Move(temp1, file2, true); } /// <inheritdoc /> |
