hide restart if not specified

This commit is contained in:
Luke Pulverenti 2016-01-10 12:36:38 -05:00
parent 71699e00a5
commit 9fcdcc6eae

View file

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