Wrong comparison in setting service to run manually.

This commit is contained in:
Ron Pedde 2007-03-16 18:26:03 +00:00
parent 0e17b153a3
commit 8173070a59

View File

@ -123,7 +123,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
}
}
if(strcmp(argv[1],"manual")) {
if(!strcmp(argv[1],"manual")) {
if (!ChangeServiceConfig(svc, SERVICE_NO_CHANGE, SERVICE_DEMAND_START, SERVICE_NO_CHANGE, NULL, NULL, NULL, NULL, NULL, NULL, NULL))
retval = E_SVC_CANTCONFIG;
}