fix boolean

pull/3691/head
crobibero 4 years ago
parent d0ce239e3e
commit 5c4b342323

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

Loading…
Cancel
Save