diff --git a/meshcore/agentcore.c b/meshcore/agentcore.c index 775c72c..33495b8 100644 --- a/meshcore/agentcore.c +++ b/meshcore/agentcore.c @@ -3226,7 +3226,7 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char ** { if (importSettings(agentHost, MeshAgent_MakeAbsolutePath(agentHost->exePath, ".msh")) == 0) { - if (importSettings(agentHost, "mesh_linumshx") == 0) // Do this because the old agent would generate this bad file name on linux. + if ((importSettings(agentHost, "mesh_linumshx") == 0) && (importSettings(agentHost, "mesh_limshx") == 0)) // Do this because the old agent would generate this bad file name on linux. { // Let's check to see if an .msh was embedded into our binary checkForEmbeddedMSH(agentHost);