mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 06:05:53 -05:00
Fixed MeshCmd AmtInfo not terminating with --json.
This commit is contained in:
parent
f4256bc54e
commit
397467c4c8
@ -573,6 +573,7 @@ function run(argv) {
|
||||
getAmtOsDnsSuffix(mestate, function() {
|
||||
if (args.json) {
|
||||
console.log(JSON.stringify(mestate, null, 2));
|
||||
exit(0);
|
||||
} else if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) {
|
||||
var str = 'Intel ME v' + mestate.ver;
|
||||
if (mestate.sku & 8) { str = 'Intel AMT v' + mestate.ver }
|
||||
|
Loading…
Reference in New Issue
Block a user