Commit bfe3b3bd authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.

parent c79a514f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment