aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mono/Native/NativeApp.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Mono/Native/NativeApp.cs')
-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");
}
}