Fix empty array crash on bash 3.2 in setup-ralph-loop.sh

This commit is contained in:
LuciferDono
2026-03-04 00:26:10 +05:30
parent 55b58ec6e5
commit acd3701274

View File

@@ -110,7 +110,7 @@ HELP_EOF
done
# Join all prompt parts with spaces
PROMPT="${PROMPT_PARTS[*]}"
PROMPT="${PROMPT_PARTS[*]:-}"
# Validate prompt is non-empty
if [[ -z "$PROMPT" ]]; then