Commit fe6294c7 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

taskkill: Use exit code 1 when terminating processes.

parent 2da11260
......@@ -341,7 +341,7 @@ static int terminate_processes(void)
continue;
}
if (!TerminateProcess(process, 0))
if (!TerminateProcess(process, 1))
{
taskkill_message_printfW(STRING_TERMINATE_FAILED, task_list[i]);
status_code = 1;
......@@ -381,7 +381,7 @@ static int terminate_processes(void)
continue;
}
if (!TerminateProcess(process, 0))
if (!TerminateProcess(process, 1))
{
taskkill_message_printfW(STRING_TERMINATE_FAILED, task_list[i]);
status_code = 1;
......
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