When merging the Skyrope changes I forgot to specify the SERVICE_START
privilege necessary to allow the -N option to work.
{
SC_HANDLE hService;
if ((hService = OpenService( hManager, TEXT("TransarcAFSDaemon"),
- SERVICE_CHANGE_CONFIG | SERVICE_QUERY_CONFIG |
- SERVICE_QUERY_STATUS) ) != NULL)
+ SERVICE_QUERY_STATUS | SERVICE_START) ) != NULL)
{
if (StartService(hService, 0, 0)) {
if ( IsDebuggerPresent() )
{
SC_HANDLE hService;
if ((hService = OpenService ( hManager, TEXT("TransarcAFSDaemon"),
- SERVICE_CHANGE_CONFIG | SERVICE_QUERY_CONFIG |
- SERVICE_QUERY_STATUS)) != NULL)
+ SERVICE_QUERY_STATUS | SERVICE_START)) != NULL)
{
if (StartService (hService, 0, 0))
TestAndDoMapShare(SERVICE_START_PENDING);