Merge pull request #502 from NextTurn/priority

Always set process priority if specified
pull/511/head
Oleg Nenashev 2020-04-11 14:22:15 +02:00 committed by GitHub
commit cb88482b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ namespace winsw.Util
processToStart.Start();
Logger.Info("Started process " + processToStart.Id);
if (priority != null && priority.Value != ProcessPriorityClass.Normal)
if (priority != null)
{
processToStart.PriorityClass = priority.Value;
}