services: Fixed the result check for the control mutex wait.

This commit is contained in:
Alexandre Julliard 2008-05-05 13:01:15 +02:00
parent 8ae87c7f0e
commit d760cba090

View File

@ -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;