[Runner] Fix condition
This commit is contained in:
parent
5931c42cc6
commit
678167ca38
@ -19,7 +19,7 @@ namespace Worker
|
||||
printf("Attaching to parent process %d...\n", this->processId);
|
||||
HANDLE processHandle = OpenProcess(SYNCHRONIZE, FALSE, this->processId);
|
||||
|
||||
if (!processHandle || processHandle == INVALID_HANDLE_VALUE && !Runner::isProcessAlive())
|
||||
if ((!processHandle || processHandle == INVALID_HANDLE_VALUE) && !Runner::isProcessAlive())
|
||||
{
|
||||
printf("Unable to attach to parent process\n");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user