mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Cleaned up environment detection
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user