mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-03 01:45:59 -05:00
Fixed AgentsInRAM setting in config.json.
This commit is contained in:
parent
5321b2f0d9
commit
dec47ad066
@ -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 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)) {
|
if ((archid == 3) || (archid == 4)) {
|
||||||
// Load the agent with a random msh added to it.
|
// Load the agent with a random msh added to it.
|
||||||
var outStream = new require('stream').Duplex();
|
var outStream = new require('stream').Duplex();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user