mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
Fixed some issue around path normalization.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user