1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

OS X and linux can be treated separately

This commit is contained in:
Mark McDowall
2014-03-08 21:28:40 -08:00
parent 9d74693bb7
commit 8885bbb60f
22 changed files with 101 additions and 50 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ namespace NzbDrone.Host
public void Start()
{
if (OsInfo.IsLinux)
if (OsInfo.IsMono)
{
Console.CancelKeyPress += (sender, eventArgs) => _processProvider.Kill(_processProvider.GetCurrentProcess().Id);
}
@@ -90,7 +90,7 @@ namespace NzbDrone.Host
public void Handle(ApplicationShutdownRequested message)
{
if (OsInfo.IsLinux)
if (OsInfo.IsMono)
{
_processProvider.Kill(_processProvider.GetCurrentProcess().Id);
}