mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-08 21:24:53 -05:00
Fixed MeshCmd AmtInfo not terminating with --json.
This commit is contained in:
@@ -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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user