Explorar o código

hide restart if not specified

Luke Pulverenti %!s(int64=9) %!d(string=hai) anos
pai
achega
9fcdcc6eae
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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");
             }
         }