mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 12:52:50 +03:00
Improved MeshCMD AMTCCM error handling.
This commit is contained in:
parent
3cb92683b6
commit
5ec325c5ff
@ -1306,6 +1306,7 @@ function activeToCCM() {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user