Update give_runs_log.sh

This commit is contained in:
2025-08-22 14:31:13 +02:00
parent f34ec40e49
commit 04de1853b7
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
log_file="$1"
if [ -f "$log_file" ]; then
head -n -1 "$log_file"
head -n "$log_file"
exit_code=$(tail -n 1 "$log_file")
if [[ "$exit_code" == "Exit Code: 0" ]]; then
pass