Fixed MeshCmd AmtInfo not terminating with --json.
Ylian Saint-Hilaire committed
Nov 25, 2021 at 22:47 UTC
397467c4c8c2eeb6c3c3a26fb533cd391ac83198
1 file changed
+1
agents/meshcmd.js
+1
@@ -573,6 +573,7 @@ function run(argv) {
573
getAmtOsDnsSuffix(mestate, function() {
574
if (args.json) {
575
console.log(JSON.stringify(mestate, null, 2));
576
+ exit(0);
577
} else if (mestate.ver && mestate.ProvisioningState && mestate.ProvisioningMode) {
578
var str = 'Intel ME v' + mestate.ver;
579
if (mestate.sku & 8) { str = 'Intel AMT v' + mestate.ver }