diff --git a/src/Unity.Cli/Commands_RunUnity.cs b/src/Unity.Cli/Commands_RunUnity.cs index b9d141a..fc60626 100644 --- a/src/Unity.Cli/Commands_RunUnity.cs +++ b/src/Unity.Cli/Commands_RunUnity.cs @@ -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