fix stuff

This commit is contained in:
Kasper Juul Hermansen 2022-08-14 22:10:58 +02:00
parent 0ec196e8c9
commit 581404c622
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -56,6 +56,8 @@ Starting running shell action: {}
} }
Some(n) => { Some(n) => {
log::info!("process exited with code: {}", n); log::info!("process exited with code: {}", n);
if n > 0 {
return Err(anyhow::anyhow!( return Err(anyhow::anyhow!(
"{} exited with: {}", "{} exited with: {}",
path.clone().to_string_lossy(), path.clone().to_string_lossy(),
@ -63,6 +65,7 @@ Starting running shell action: {}
)); ));
} }
} }
}
log::info!( log::info!(
" "