Explorar el Código

hide restart if not specified

Luke Pulverenti hace 9 años
padre
commit
b5bfb46760
Se han modificado 1 ficheros con 2 adiciones y 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");
             }
         }