fix stuff
This commit is contained in:
parent
0ec196e8c9
commit
581404c622
@ -56,11 +56,14 @@ Starting running shell action: {}
|
|||||||
}
|
}
|
||||||
Some(n) => {
|
Some(n) => {
|
||||||
log::info!("process exited with code: {}", n);
|
log::info!("process exited with code: {}", n);
|
||||||
return Err(anyhow::anyhow!(
|
|
||||||
"{} exited with: {}",
|
if n > 0 {
|
||||||
path.clone().to_string_lossy(),
|
return Err(anyhow::anyhow!(
|
||||||
n
|
"{} exited with: {}",
|
||||||
));
|
path.clone().to_string_lossy(),
|
||||||
|
n
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user