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

This commit is contained in:
Dmitry Timoshkov 2013-05-08 14:33:20 +09:00 committed by Alexandre Julliard
parent c79a514fe5
commit bfe3b3bdb6
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ static struct thread *get_ptrace_thread( struct process *process )
{ {
if (thread->unix_pid != -1) return thread; 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; return NULL;
} }