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:
parent
2d2e7001c1
commit
672235e0a3
3 changed files with 12 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue