mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
services: Fixed the result check for the control mutex wait.
This commit is contained in:
parent
8ae87c7f0e
commit
d760cba090
@ -833,7 +833,7 @@ DWORD svcctl_ControlService(
|
||||
service_unlock(service->service_entry);
|
||||
|
||||
ret = WaitForSingleObject(control_mutex, 30000);
|
||||
if (ret)
|
||||
if (ret == WAIT_OBJECT_0)
|
||||
{
|
||||
DWORD result = ERROR_SUCCESS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user