mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
added /run/ to none-production start paths.
This commit is contained in:
@@ -64,7 +64,9 @@ namespace NzbDrone.Common.EnvironmentInfo
|
|||||||
if (lowerProcessName.Contains("jetbrain")) return false;
|
if (lowerProcessName.Contains("jetbrain")) return false;
|
||||||
if (lowerProcessName.Contains("resharper")) 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user