Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
hkctkuy committed Jun 4, 2024
1 parent 9952393 commit 381047a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions casr/src/triage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,22 +240,22 @@ pub fn fuzzing_crash_triage_pipeline(
if !matches.get_flag("no-cluster") {
if seed_mode {
info!("Accumulating CASR reports...");
let casr_cluster_c = Command::new(&casr_cluster)
let casr_cluster_u = Command::new(&casr_cluster)
.arg("-u")
.arg(casrep_dir.clone().into_os_string())
.arg(output_dir.clone().into_os_string())
.output()
.with_context(|| format!("Couldn't launch {casr_cluster:?}"))?;

if casr_cluster_c.status.success() {
if casr_cluster_u.status.success() {
info!(
"{}",
String::from_utf8_lossy(&casr_cluster_c.stdout).trim_end()
String::from_utf8_lossy(&casr_cluster_u.stdout).trim_end()
);
} else {
error!(
"{}",
String::from_utf8_lossy(&casr_cluster_c.stderr).trim_end()
String::from_utf8_lossy(&casr_cluster_u.stderr).trim_end()
);
}

Expand Down

0 comments on commit 381047a

Please sign in to comment.