[SERVICES]

- Always return ERROR_SUCCESS when ScmWaitForServiceConnect completes successfully instead of sometimes returning ERROR_PIPE_CONNECTED because the callers of this helper just look for ERROR_SUCCESS to indicate a successful call

svn path=/trunk/; revision=54381
This commit is contained in:
Cameron Gutman 2011-11-15 02:55:44 +00:00
parent 9e7c5f1a3e
commit dbafcc923d

View file

@ -1515,6 +1515,11 @@ ScmWaitForServiceConnect(PSERVICE Service)
DPRINT1("Reading the service control pipe failed (Error %lu)\n",
dwError);
}
else
{
dwError = ERROR_SUCCESS;
DPRINT("Read control pipe successfully\n");
}
}
else
{