Skip to content
Snippets Groups Projects
Commit ed1f3760 authored by Matt Harbison's avatar Matt Harbison
Browse files

killdaemons: fix WaitForSingleObject() error handling logic on Windows

The error return is not 0 for this method, so _check() was doing nothing when an
error occurred.  This forces the error path, much like the check for
OpenProcess().

The only unhandled return is now WAIT_ABANDONED, but I don't see how that could
happen in this case.
parent d644e859
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment