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:41:17 -0500 |
| commit | b5bfb46760acfe48d3773b194bd62df7407f7159 (patch) | |
| tree | 13b8cf95d7015d07a8f1d9535fce603c99e338db | |
| parent | 24643216a7349e62cbfdafa0ca7eaea2f81b72c0 (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"); } } |
