aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-07-29 14:21:32 -0600
committercrobibero <cody@robibe.ro>2020-07-29 14:21:32 -0600
commit5c4b342323bdf637738c3c87efcce625ae748f34 (patch)
tree2f340e6bf4ab8b6d5c8f3b77cd49f692bbcc241c
parentd0ce239e3e71d52fd405cd7981cecb5ee49983a5 (diff)
fix boolean
-rw-r--r--Jellyfin.Api/Helpers/ProgressiveFileCopier.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs b/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs
index 71197d931f..432df97086 100644
--- a/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs
+++ b/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs
@@ -84,7 +84,7 @@ namespace Jellyfin.Api.Helpers
var allowAsyncFileRead = false;
// use non-async filestream along with read due to https://github.com/dotnet/corefx/issues/6039
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
+ if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
fileOptions |= FileOptions.Asynchronous;
allowAsyncFileRead = true;