lanzatool: hide sbsign output on happy path
This commit is contained in:
parent
c441f5157e
commit
967f78d374
|
@ -29,9 +29,10 @@ impl Signer {
|
||||||
utils::path_to_string(to),
|
utils::path_to_string(to),
|
||||||
];
|
];
|
||||||
|
|
||||||
let status = Command::new("sbsign").args(&args).status()?;
|
let output = Command::new("sbsign").args(&args).output()?;
|
||||||
|
|
||||||
if !status.success() {
|
if !output.status.success() {
|
||||||
|
print!("{:?}", output.stderr);
|
||||||
return Err(anyhow::anyhow!(
|
return Err(anyhow::anyhow!(
|
||||||
"Failed to sign file using sbsign with args `{:?}`",
|
"Failed to sign file using sbsign with args `{:?}`",
|
||||||
&args
|
&args
|
||||||
|
|
Loading…
Reference in New Issue