mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 17:14:32 +00:00
[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:
parent
9e7c5f1a3e
commit
dbafcc923d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue