HF RL Explorer

Task: Implement Cleanup Before Bash Script Exit

Task: Implement Cleanup Before Bash Script Exit: a task in Terminal-Lego-15k (Harbor dataset). When a Bash script uses set -e (exit on error), the script terminates immediately when any command returns a non-zero exit status. This can leave temporary files or resources behind if cleanup code at…

The task

When a Bash script uses `set -e` (exit on error), the script terminates immediately when any command returns a non-zero exit status. This can leave temporary files or resources behind if cleanup code at the end of the script never gets executed.

Part of PrimeIntellect/Terminal-Lego-15k.