1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

added /run/ to none-production start paths.

This commit is contained in:
kay.one 2013-09-14 17:23:58 -07:00
parent 661ba97215
commit 9abd5c0e28

View file

@ -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;
}