mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-01-18 23:14:02 +01:00
Bugfix util/proc: Forward exit code to TerminateProcess
This commit is contained in:
parent
cb290ab02e
commit
bb0d2823bf
@ -11,5 +11,5 @@ void proc_terminate_current_process(uint32_t exit_code)
|
|||||||
TRUE,
|
TRUE,
|
||||||
GetCurrentProcessId());
|
GetCurrentProcessId());
|
||||||
|
|
||||||
TerminateProcess(hnd, 0);
|
TerminateProcess(hnd, exit_code);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user