mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
cleaned up some code around process handling.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System.Linq;
|
||||
using NzbDrone.Common;
|
||||
|
||||
namespace NzbDrone.Update.UpdateEngine
|
||||
@@ -27,7 +26,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||
return AppType.Service;
|
||||
}
|
||||
|
||||
if (_processProvider.GetProcessByName(ProcessProvider.NzbDroneConsoleProcessName).Any())
|
||||
if (_processProvider.Exists(ProcessProvider.NzbDroneConsoleProcessName))
|
||||
{
|
||||
return AppType.Console;
|
||||
}
|
||||
|
Reference in New Issue
Block a user