diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-10 12:36:38 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-01-10 12:36:38 -0500 |
| commit | 9fcdcc6eae953fa76164450bc176a61fb4cb19c0 (patch) | |
| tree | 036d7c727524bf78268a68e590aba1fb81a9f700 | |
| parent | 71699e00a5cef74edefea39f023cdd08383d4dd1 (diff) | |
hide restart if not specified
| -rw-r--r-- | MediaBrowser.Server.Mono/Native/NativeApp.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Mono/Native/NativeApp.cs b/MediaBrowser.Server.Mono/Native/NativeApp.cs index 500555647..c73a96497 100644 --- a/MediaBrowser.Server.Mono/Native/NativeApp.cs +++ b/MediaBrowser.Server.Mono/Native/NativeApp.cs @@ -28,7 +28,8 @@ namespace MediaBrowser.Server.Mono.Native { get { - return true; + // A restart script must be provided + return StartupOptions.ContainsOption("-restartpath"); } } |
