aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-10 12:36:38 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-10 12:36:38 -0500
commit9fcdcc6eae953fa76164450bc176a61fb4cb19c0 (patch)
tree036d7c727524bf78268a68e590aba1fb81a9f700
parent71699e00a5cef74edefea39f023cdd08383d4dd1 (diff)
hide restart if not specified
-rw-r--r--MediaBrowser.Server.Mono/Native/NativeApp.cs3
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");
}
}