Refactor: 127-Status-Prüfung entfernen und Bedingung vereinfachen
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ pub fn run_compose_command(dir: &Path, args: &[&str]) -> std::io::Result<Output>
|
|||||||
.output();
|
.output();
|
||||||
|
|
||||||
match output {
|
match output {
|
||||||
Ok(out) if out.status.success() || out.status.code() != Some(127) => Ok(out),
|
Ok(out) if out.status.success() => Ok(out),
|
||||||
_ => {
|
_ => {
|
||||||
// Fallback auf docker-compose (v1)
|
// Fallback auf docker-compose (v1)
|
||||||
Command::new("docker-compose")
|
Command::new("docker-compose")
|
||||||
|
|||||||
Reference in New Issue
Block a user