1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2025-01-19 07:17:23 +01:00

Bugfix util/proc: Forward exit code to TerminateProcess

This commit is contained in:
icex2 2023-02-19 15:40:36 +01:00 committed by icex2
parent cb290ab02e
commit bb0d2823bf

View File

@ -11,5 +11,5 @@ void proc_terminate_current_process(uint32_t exit_code)
TRUE, TRUE,
GetCurrentProcessId()); GetCurrentProcessId());
TerminateProcess(hnd, 0); TerminateProcess(hnd, exit_code);
} }