Skip to content

Commit

Permalink
Remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbilas committed Nov 10, 2023
1 parent 09ee430 commit cd6b7da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Unity.Cli/Commands_RunUnity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,6 @@ void UpdateProcessStats()
else
Console.WriteLine("Process is responding");

if (pidAsExitCode)
return (CliExitCode)(mainUnity.Id | 1<<31);

return pidAsExitCode ? AsCliExitCode(mainUnity.Id) : CliExitCode.Success;
}
finally
Expand Down

0 comments on commit cd6b7da

Please sign in to comment.