mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-11 23:13:24 -05:00
Wrong comparison in setting service to run manually.
This commit is contained in:
parent
0e17b153a3
commit
8173070a59
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user