mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added seting of exit status in NtTerminateProcess.
svn path=/trunk/; revision=2889
This commit is contained in:
parent
4aead93e6e
commit
418853bd8f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kill.c,v 1.51 2002/03/05 11:33:12 ekohl Exp $
|
||||
/* $Id: kill.c,v 1.52 2002/04/27 19:25:16 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -264,7 +264,7 @@ NtTerminateProcess(IN HANDLE ProcessHandle,
|
|||
{
|
||||
return(Status);
|
||||
}
|
||||
|
||||
Process->ExitStatus = ExitStatus;
|
||||
PiTerminateProcessThreads(Process, ExitStatus);
|
||||
if (PsGetCurrentThread()->ThreadsProcess == Process)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue