fix(retrieval): keep Bash auto result status

This commit is contained in:
Julian lechner committed 2026-09-24 17:08:30 +02:00
1 parent 5f1a7b4d4f
commit cbd30b078b
3 files changed
+5 -5

No files matched your search

+1 -2
View File
@@ -49,8 +49,7 @@ read_semantic_retrieval_option() {
y|Y|yes|Yes|YES) printf 'true\n'; return ;;
n|N|no|No|NO) printf 'false\n'; return ;;
a|A|auto|Auto|AUTO)
if test_semantic_retrieval_device "$root" "$home_path"; then printf 'true\n'; return; fi
status=$?
if test_semantic_retrieval_device "$root" "$home_path"; then printf 'true\n'; return; else status=$?; fi
[ "$status" -eq 1 ] && { printf 'false\n'; return; }
return "$status"
;;