1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-21 02:33:24 +00:00

1. Removed uneccessary printf

2. Added support for hex values for CAched db entries
3. Added --copy-msh support in agent installer
4. Added --no-embedded support
This commit is contained in:
Bryan Roe
2020-08-01 02:38:38 -07:00
parent 8ff0db9c3e
commit 43e09dd41e
5 changed files with 32 additions and 4 deletions

View File

@@ -5173,7 +5173,6 @@ void MeshAgent_ScriptMode(MeshAgentHostContainer *agentHost, int argc, char **ar
// If in agent mode, setup the chain to be a mesh agent
if (connectAgent != 0)
{
printf("MeshCentral2 Agent\r\n"); // MESH_AGENT_VERSION
if (MeshAgent_AgentMode(agentHost, argc, argv, 0) == 0)
{
ILibStopChain(agentHost->chain); // Agent Error, stop the chain
@@ -5187,7 +5186,6 @@ void MeshAgent_ScriptMode_Dispatched(void *chain, void *user)
}
void MeshAgent_AgentMode_Dispatched(void *chain, void *user)
{
printf("MeshCentral2 Agent\r\n"); // MESH_AGENT_VERSION
if (MeshAgent_AgentMode((MeshAgentHostContainer*)((void**)user)[0], ((int*)((void**)user)[1])[0], (char**)((void**)user)[2], 1) == 0)
{
ILibStopChain(((MeshAgentHostContainer*)((void**)user)[0])->chain);