Don't nag linux x86 users to switch to net core

pull/1819/head
ta264 4 years ago committed by Qstick
parent e912ef6a3e
commit bb6cdfef43

@ -33,6 +33,12 @@ namespace NzbDrone.Core.HealthCheck.Checks
return new HealthCheck(GetType());
}
// Don't warn on linux x86 - we don't build x86 net core
if (OsInfo.IsLinux && RuntimeInformation.ProcessArchitecture == Architecture.X86)
{
return new HealthCheck(GetType());
}
// Check for BSD
var output = _processProvider.StartAndCapture("uname");
if (output?.ExitCode == 0 && MonoUnames.Contains(output?.Lines.First().Content))

Loading…
Cancel
Save