Task: Implement Automatic Shell Script Exit on Command Failure
Task: Implement Automatic Shell Script Exit on Command Failure: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Bash shell script that automatically exits with a return value of 1 if any command within the script returns a non-zero value. The goal is to achieve this behavior…
The task
You need to create a Bash shell script that automatically exits with a return value of 1 if any command within the script returns a non-zero value. The goal is to achieve this behavior **without** explicitly checking the result of each command using `if` statements or manual `$?` checks.
Part of PrimeIntellect/Terminal-Lego-15k.