mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fixes #719
This commit is contained in:
committed by
Aiden McClelland
parent
56dc3b42dd
commit
ea76811902
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user