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