Update give_runs_log.sh
This commit is contained in:
+1
-2
@@ -6,8 +6,7 @@ if [ -f "$log_file" ]; then
|
||||
exit_code=$(tail -n 1 "$log_file")
|
||||
if [[ "$exit_code" == "Exit Code: 0" ]]; then
|
||||
pass
|
||||
fi
|
||||
if [[ "$exit_code" == "Exit Code: 1" ]]; then
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user