From d524ef99d05a11d633402f1804579fdc2df573d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Mart=C3=ADn?= Date: Wed, 18 Oct 2023 18:42:49 +0200 Subject: [PATCH] fix(admin-tool): call the 'fdo-owner-tool' with the correct arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the `fdo-admin-tool aio device manufacture` command which fails when running the `fdo-owner-tool dump-device-credential` command after the manufacturing process has finished successfully. Closes #563 Signed-off-by: Miguel Martín --- admin-tool/src/aio/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-tool/src/aio/device.rs b/admin-tool/src/aio/device.rs index 6a2c1e1b4..e5d751d93 100644 --- a/admin-tool/src/aio/device.rs +++ b/admin-tool/src/aio/device.rs @@ -125,7 +125,7 @@ async fn print_device_credential( let status = tokio::process::Command::new(binary_path.join(ChildBinary::OwnerTool.binary_name())) .arg("dump-device-credential") - .args(device_credential_path) + .arg(device_credential_path) .status() .await .context("Error running owner-tool to dump device credential")?;