From eb0218bdcb105ae1e5b96d8087df62ec9a4fd045 Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Tue, 28 Oct 2025 18:21:52 +0000 Subject: [PATCH] fix: unset color variables before sourcing .env to prevent ANSI escape sequence errors --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 6cced59..4bd50a7 100755 --- a/setup.sh +++ b/setup.sh @@ -2931,6 +2931,8 @@ update_installation() { # Load existing .env to get database credentials if [ -f "$instance_dir/backend/.env" ]; then + # Unset color variables before sourcing to prevent ANSI escape sequences from leaking into .env + unset RED GREEN YELLOW BLUE NC source "$instance_dir/backend/.env" print_status "Loaded existing configuration"