From 6a23c23e89f6913a52ddc99096b5ef6d4197b9af Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Sun, 19 Apr 2026 11:44:42 -0400 Subject: [PATCH] fix(setup): Inject exit 0 to prevent fallback CLI execution --- literate/setup.org | 1 + opencortex.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/literate/setup.org b/literate/setup.org index 0e0083f..44bf7b8 100644 --- a/literate/setup.org +++ b/literate/setup.org @@ -153,6 +153,7 @@ setup_system() { else echo -e "${BLUE}To start, run:${NC} ${GREEN}exec bash && opencortex tui${NC}" fi + exit 0 else echo -e "\n${RED}✗ Brain failed to wake up.${NC}" echo -e "${YELLOW}Full Log Path: $(realpath "$SCRIPT_DIR/brain.log")${NC}" diff --git a/opencortex.sh b/opencortex.sh index 97ec06c..06e91c1 100755 --- a/opencortex.sh +++ b/opencortex.sh @@ -143,6 +143,7 @@ setup_system() { else echo -e "${BLUE}To start, run:${NC} ${GREEN}exec bash && opencortex tui${NC}" fi + exit 0 else echo -e "\n${RED}✗ Brain failed to wake up.${NC}" echo -e "${YELLOW}Full Log Path: $(realpath "$SCRIPT_DIR/brain.log")${NC}"