fix: fs_ls and fs_cat outputs should always redirect to "$LLM_OUTPUT" including on errors.

This commit is contained in:
2026-02-09 14:56:55 -07:00
parent a935add2a7
commit f82c9aff40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ set -e
main() {
# shellcheck disable=SC2154
cat "$argc_path" >> "$LLM_OUTPUT"
cat "$argc_path" >> "$LLM_OUTPUT" 2>&1 || echo "No such file or path: $argc_path" >> "$LLM_OUTPUT"
}
+1 -1
View File
@@ -9,5 +9,5 @@ set -e
main() {
# shellcheck disable=SC2154
ls -1 "$argc_path" >> "$LLM_OUTPUT"
ls -1 "$argc_path" >> "$LLM_OUTPUT" 2>&1 || echo "No such path: $argc_path" >> "$LLM_OUTPUT"
}