mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
OS X and linux can be treated separately
This commit is contained in:
@@ -48,7 +48,7 @@ namespace NzbDrone.Core.Lifecycle
|
||||
{
|
||||
_logger.Info("Restart requested.");
|
||||
|
||||
if (OsInfo.IsLinux)
|
||||
if (OsInfo.IsMono)
|
||||
{
|
||||
_processProvider.SpawnNewProcess(_runtimeInfo.ExecutingApplication, "--terminateexisting --nobrowser");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user