mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-26 07:57:56 +03:00
Fixed AgentsInRAM setting in config.json.
This commit is contained in:
parent
921fbc38f7
commit
a4eb2d3eb2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user