mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-16 00:48:46 -04: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() {
|
getAmtOsDnsSuffix(mestate, function() {
|
||||||
if (args.json) {
|
if (args.json) {
|
||||||
console.log(JSON.stringify(mestate, null, 2));
|
console.log(JSON.stringify(mestate, null, 2));
|
||||||
|
exit(0);
|
||||||
} else if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) {
|
} else if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) {
|
||||||
var str = 'Intel ME v' + mestate.ver;
|
var str = 'Intel ME v' + mestate.ver;
|
||||||
if (mestate.sku & 8) { str = 'Intel AMT v' + mestate.ver }
|
if (mestate.sku & 8) { str = 'Intel AMT v' + mestate.ver }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user