mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-23 03:22:28 -05:00
Improved MeshCMD AMTCCM error handling.
This commit is contained in:
parent
3cb92683b6
commit
5ec325c5ff
@ -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…
x
Reference in New Issue
Block a user