fix: set -euo pipefail for the temp script in execute_command.sh tool
This commit is contained in:
@@ -20,5 +20,5 @@ main() {
|
|||||||
trap "rm -f '$script'" EXIT
|
trap "rm -f '$script'" EXIT
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
printf '%s\n' "$argc_command" > "$script"
|
printf '%s\n' "$argc_command" > "$script"
|
||||||
bash "$script" >> "$LLM_OUTPUT"
|
bash -e -o pipefail "$script" >> "$LLM_OUTPUT"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user