mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Improved MeshCMD AMTCCM error handling.
This commit is contained in:
		
							parent
							
								
									3cb92683b6
								
							
						
					
					
						commit
						5ec325c5ff
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -1306,6 +1306,7 @@ function activeToCCM() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function activeToCCMEx(state) {
 | 
					function activeToCCMEx(state) {
 | 
				
			||||||
 | 
					    if (osamtstack == null) { console.log("Unable to perform MEI operations, try running as " + ((process.platform == 'win32') ? "administrator." : "root.")); exit(1); return; }
 | 
				
			||||||
    osamtstack.BatchEnum(null, ['*AMT_GeneralSettings', '*IPS_HostBasedSetupService'], activeToCCMEx2);
 | 
					    osamtstack.BatchEnum(null, ['*AMT_GeneralSettings', '*IPS_HostBasedSetupService'], activeToCCMEx2);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue