hide restart if not specified

This commit is contained in:
Luke Pulverenti 2016-01-10 12:36:38 -05:00
parent 9fc0db643f
commit d815582ea8
1 changed files with 2 additions and 1 deletions

View File

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