diff options
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 726fd62..636a3dc 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -549,7 +549,7 @@ fn machine_containers_wait_script(containers: &[ScheduledContainer]) -> String { | |||
| 549 | "if [ \"$(docker wait {name})\" -ne \"0\" ] ; then\n" | 549 | "if [ \"$(docker wait {name})\" -ne \"0\" ] ; then\n" |
| 550 | )); | 550 | )); |
| 551 | script.push_str(&format!("\techo Container {name} failed\n")); | 551 | script.push_str(&format!("\techo Container {name} failed\n")); |
| 552 | script.push_str(&format!("\tdocker logs {name} 2>&1\n")); | 552 | script.push_str(&format!("\tdocker logs {name} 2>&1 | tail -n 500\n")); |
| 553 | script.push_str("\texit 1\n"); | 553 | script.push_str("\texit 1\n"); |
| 554 | script.push_str("fi\n\n"); | 554 | script.push_str("fi\n\n"); |
| 555 | } | 555 | } |
