server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.
This commit is contained in:
parent
c79a514fe5
commit
bfe3b3bdb6
|
@ -322,7 +322,7 @@ static struct thread *get_ptrace_thread( struct process *process )
|
|||
{
|
||||
if (thread->unix_pid != -1) return thread;
|
||||
}
|
||||
set_error( STATUS_ACCESS_DENIED ); /* process is dead */
|
||||
set_error( STATUS_PROCESS_IS_TERMINATING ); /* process is dead */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue