From a4eb2d3eb28eb583a80bff19ca7dd48d1aa99466 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 27 Oct 2019 12:17:12 -0700 Subject: [PATCH] Fixed AgentsInRAM setting in config.json. --- meshcentral.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshcentral.js b/meshcentral.js index 8aa67245..6672e76e 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -1633,7 +1633,7 @@ function CreateMeshCentralServer(config, args) { } // If agents must be stored in RAM or if this is a Windows 32/64 agent, load the agent in RAM. - if ((obj.args.agentsinram) || (archid == 3) || (archid == 4)) { + if ((obj.args.agentsinram === true) || (((archid == 3) || (archid == 4)) && (obj.args.agentsinram !== false))) { if ((archid == 3) || (archid == 4)) { // Load the agent with a random msh added to it. var outStream = new require('stream').Duplex();