diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-09-09 21:02:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-09 21:02:21 -0400 |
| commit | 926d976e84b62fd939811221d92fca45c96c02de (patch) | |
| tree | a51163df5efaf7ef611e62b53055b858e723ff22 | |
| parent | 75b6b713b08cc59a4c0772fcbfbe1ac1aebd65f9 (diff) | |
| parent | a46f81d5726204085e4d0a4b883d7bdd69de9b94 (diff) | |
Merge pull request #2874 from MediaBrowser/dev
3.2.30.13
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 13 | ||||
| -rw-r--r-- | SharedVersion.cs | 2 |
2 files changed, 11 insertions, 4 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index 27eb3e0e1..d17d9ee43 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -134,10 +134,17 @@ namespace MediaBrowser.ServerApplication private static bool IsServiceInstalled() { - var serviceName = BackgroundService.GetExistingServiceName(); - var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName); + try + { + var serviceName = BackgroundService.GetExistingServiceName(); + var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName); - return ctl != null; + return ctl != null; + } + catch + { + return false; + } } /// <summary> diff --git a/SharedVersion.cs b/SharedVersion.cs index 6d2d4b25c..3001bbf31 100644 --- a/SharedVersion.cs +++ b/SharedVersion.cs @@ -1,3 +1,3 @@ using System.Reflection; -[assembly: AssemblyVersion("3.2.30.12")] +[assembly: AssemblyVersion("3.2.30.13")] |
