fix stuff
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

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,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
));
}
}
}