added /run/ to none-production start paths.

pull/4/head
kay.one 11 years ago
parent 661ba97215
commit 9abd5c0e28

@ -64,7 +64,9 @@ namespace NzbDrone.Common.EnvironmentInfo
if (lowerProcessName.Contains("jetbrain")) return false;
if (lowerProcessName.Contains("resharper")) return false;
if (Directory.GetCurrentDirectory().ToLower().Contains("teamcity")) return false;
string lowerCurrentDir = Directory.GetCurrentDirectory().ToLower();
if (lowerCurrentDir.Contains("teamcity")) return false;
if (lowerCurrentDir.StartsWith("/run/")) return false;
return true;
}

Loading…
Cancel
Save