mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-03 18:05:58 -05:00
Removed debug code around running mongodump.exe.
This commit is contained in:
parent
57d37b7c8a
commit
af1e5f52ca
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) {
|
child_process.exec(cmd, { cwd: backupPath }, function (error, stdout, stderr) {
|
||||||
try {
|
try {
|
||||||
if ((error != null) && (error != '')) {
|
if ((error != null) && (error != '')) {
|
||||||
|
|
||||||
console.log(error);
|
|
||||||
|
|
||||||
if (parent.platform == 'win32') {
|
if (parent.platform == 'win32') {
|
||||||
func(1, "Unable to find mongodump.exe, MongoDB database auto-backup will not be performed.");
|
func(1, "Unable to find mongodump.exe, MongoDB database auto-backup will not be performed.");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user