hide restart if not specified

This commit is contained in:
Luke Pulverenti 2016-01-10 12:36:38 -05:00
parent 24643216a7
commit b5bfb46760

View File

@ -28,7 +28,8 @@ namespace MediaBrowser.Server.Mono.Native
{ {
get get
{ {
return true; // A restart script must be provided
return StartupOptions.ContainsOption("-restartpath");
} }
} }