mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-23 02:57:39 -05:00
Removed debug code around running mongodump.exe.
This commit is contained in:
3
db.js
3
db.js
@@ -2687,9 +2687,6 @@ module.exports.CreateDB = function (parent, func) {
|
||||
child_process.exec(cmd, { cwd: backupPath }, function (error, stdout, stderr) {
|
||||
try {
|
||||
if ((error != null) && (error != '')) {
|
||||
|
||||
console.log(error);
|
||||
|
||||
if (parent.platform == 'win32') {
|
||||
func(1, "Unable to find mongodump.exe, MongoDB database auto-backup will not be performed.");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user