mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Fixed some issue around path normalization.
This commit is contained in:
parent
e269494ff8
commit
bfe4de7a08
7 changed files with 32 additions and 10 deletions
|
@ -102,7 +102,7 @@ namespace NzbDrone.Common
|
|||
foreach (var process in _processProvider.GetProcessByName("IISExpress"))
|
||||
{
|
||||
Logger.Info("[{0}]IIS Process found. Path:{1}", process.Id, process.StartPath);
|
||||
if (process.StartPath.NormalizePath() == _enviromentProvider.GetIISExe().NormalizePath())
|
||||
if (DiskProvider.PathEquals(process.StartPath, _enviromentProvider.GetIISExe()))
|
||||
{
|
||||
Logger.Info("[{0}]Process is considered orphaned.", process.Id);
|
||||
_processProvider.Kill(process.Id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue