Skip to content

Commit

Permalink
fix(admin-tool): call the 'fdo-owner-tool' with the correct arguments
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mmartinv committed Oct 19, 2023
1 parent 906144f commit d524ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin-tool/src/aio/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?;
Expand Down

0 comments on commit d524ef9

Please sign in to comment.