mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
More update code. almost there.
This commit is contained in:
parent
60d598f2c1
commit
883dffca80
8 changed files with 166 additions and 14 deletions
|
@ -120,7 +120,7 @@ namespace NzbDrone.Core
|
|||
{
|
||||
try
|
||||
{
|
||||
var pid = Convert.ToInt32(Environment.GetEnvironmentVariable("NZBDRONE_PID"));
|
||||
var pid = new EnviromentProvider().NzbDroneProcessIdFromEnviroment;
|
||||
|
||||
Logger.Debug("Attaching to parent process ({0}) for automatic termination.", pid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue