Skip to content

Commit

Permalink
update service name
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Jan 14, 2016
1 parent b554dc8 commit cd91731
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions MediaBrowser.ServerApplication/BackgroundService.cs
Expand Up @@ -14,18 +14,6 @@ public class BackgroundService : ServiceBase

public static string GetExistingServiceName()
{
try
{
if (ServiceController.GetServices().Any(s => s.ServiceName == "MediaBrowser"))
{
return "MediaBrowser";
}
}
catch
{
return "MediaBrowser";
}

return Name;
}

Expand Down

0 comments on commit cd91731

Please sign in to comment.