This commit is contained in:
Aiden McClelland
2021-11-01 17:32:51 -06:00
committed by Aiden McClelland
parent 56dc3b42dd
commit ea76811902

View File

@@ -89,7 +89,7 @@ impl DockerAction {
.wait_with_output() .wait_with_output()
.await .await
.with_kind(crate::ErrorKind::Docker)?; .with_kind(crate::ErrorKind::Docker)?;
Ok(if res.status.success() { Ok(if res.status.success() || res.status.code() == Some(143) {
Ok(if let Some(format) = &self.io_format { Ok(if let Some(format) = &self.io_format {
match format.from_slice(&res.stdout) { match format.from_slice(&res.stdout) {
Ok(a) => a, Ok(a) => a,
@@ -152,7 +152,7 @@ impl DockerAction {
.wait_with_output() .wait_with_output()
.await .await
.with_kind(crate::ErrorKind::Docker)?; .with_kind(crate::ErrorKind::Docker)?;
Ok(if res.status.success() { Ok(if res.status.success() || res.status.code() == Some(143) {
Ok(if let Some(format) = &self.io_format { Ok(if let Some(format) = &self.io_format {
match format.from_slice(&res.stdout) { match format.from_slice(&res.stdout) {
Ok(a) => a, Ok(a) => a,