1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Cleaned up environment detection

This commit is contained in:
Keivan Beigi
2014-12-07 12:54:07 -08:00
parent cf77104a02
commit f4c202441c
35 changed files with 112 additions and 95 deletions
@@ -24,10 +24,10 @@ namespace NzbDrone.Core.HealthCheck.Checks
_checkUpdateService = checkUpdateService;
_configFileProvider = configFileProvider;
}
public override HealthCheck Check()
{
if (OsInfo.IsWindows || (OsInfo.IsMono && _configFileProvider.UpdateAutomatically))
if (OsInfo.IsWindows || _configFileProvider.UpdateAutomatically)
{
try
{