fix: set -euo pipefail for the temp script in execute_command.sh tool

This commit is contained in:
2026-06-03 15:26:23 -06:00
parent fe875258c9
commit 9fd2c9b0a0
+1 -1
View File
@@ -20,5 +20,5 @@ main() {
trap "rm -f '$script'" EXIT
# shellcheck disable=SC2154
printf '%s\n' "$argc_command" > "$script"
bash "$script" >> "$LLM_OUTPUT"
bash -e -o pipefail "$script" >> "$LLM_OUTPUT"
}