many-seeds: propagate failure properly
This commit is contained in:
parent
c7b86fc708
commit
fdb561309d
@ -380,9 +380,9 @@ fn many_seeds(command: Vec<OsString>) -> Result<()> {
|
||||
.env("MIRIFLAGS", miriflags)
|
||||
.quiet()
|
||||
.run();
|
||||
if status.is_err() {
|
||||
if let Err(err) = status {
|
||||
println!("Failing seed: {seed}");
|
||||
break;
|
||||
return Err(err.into());
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user