1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Removed SMBIOS collection when using NeDB.

This commit is contained in:
Ylian Saint-Hilaire 2020-09-08 11:58:23 -07:00
parent 2d2e7001c1
commit 672235e0a3
3 changed files with 12 additions and 11 deletions

View file

@ -1164,7 +1164,8 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
}
case 'smbios':
{
// SMBIOS information should never be saved when NeDB is in use.
// SMBIOS information must never be saved when NeDB is in use. NeDB will currupt that database.
if (db.SetSMBIOS == null) break;
// See if we need to save SMBIOS information
if (domain.smbios === true) {