mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Removed debug code around running mongodump.exe.
This commit is contained in:
		
							parent
							
								
									57d37b7c8a
								
							
						
					
					
						commit
						af1e5f52ca
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		
							
								
								
									
										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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue