mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 22:23:17 -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))
|
if (!ChangeServiceConfig(svc, SERVICE_NO_CHANGE, SERVICE_DEMAND_START, SERVICE_NO_CHANGE, NULL, NULL, NULL, NULL, NULL, NULL, NULL))
|
||||||
retval = E_SVC_CANTCONFIG;
|
retval = E_SVC_CANTCONFIG;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user