Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2da11260
Commit
2da11260
authored
Feb 01, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Feb 02, 2023
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Use exit code 1 when terminating processes.
parent
9a8e628d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
endproc.c
programs/taskmgr/endproc.c
+2
-2
No files found.
programs/taskmgr/endproc.c
View file @
2da11260
...
...
@@ -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
);
...
...
Vitaly Lipatov
@lav
mentioned in commit
b59ff5ee
·
Feb 25, 2024
mentioned in commit
b59ff5ee
mentioned in commit b59ff5eefccf2cf7e3997e8a35b71c748cd9b21c
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment