mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed MeshCmd AmtInfo not terminating with --json.
This commit is contained in:
parent
f4256bc54e
commit
397467c4c8
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue