mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
Wrong comparison in setting service to run manually.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user