fix boolean

This commit is contained in:
crobibero 2020-07-29 14:21:32 -06:00
parent d0ce239e3e
commit 5c4b342323

View file

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