Improved MeshCMD AMTCCM error handling.

This commit is contained in:
Ylian Saint-Hilaire 2021-10-30 20:19:46 -07:00
parent 3cb92683b6
commit 5ec325c5ff

View File

@ -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);
}