Browse Source

hide restart if not specified

Luke Pulverenti 9 years ago
parent
commit
9fcdcc6eae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      MediaBrowser.Server.Mono/Native/NativeApp.cs

+ 2 - 1
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");
             }
         }