mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:38:32 +00:00
taskmgr: Use exit code 1 when terminating processes.
This commit is contained in:
parent
9a8e628d70
commit
2da1126021
|
@ -83,7 +83,7 @@ void ProcessPage_OnEndProcess(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!TerminateProcess(hProcess, 0))
|
||||
if (!TerminateProcess(hProcess, 1))
|
||||
{
|
||||
GetLastErrorText(wstrErrorText, ARRAY_SIZE(wstrErrorText));
|
||||
MessageBoxW(hMainWnd, wstrErrorText,wszUnable2Terminate, MB_OK|MB_ICONSTOP);
|
||||
|
@ -133,7 +133,7 @@ void ProcessPage_OnEndProcessTree(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!TerminateProcess(hProcess, 0))
|
||||
if (!TerminateProcess(hProcess, 1))
|
||||
{
|
||||
GetLastErrorText(wstrErrorText, ARRAY_SIZE(wstrErrorText));
|
||||
MessageBoxW(hMainWnd, wstrErrorText,wszUnable2Terminate, MB_OK|MB_ICONSTOP);
|
||||
|
|
Loading…
Reference in a new issue