From ce0f351ca36983be41f62966ed84d688c883e723 Mon Sep 17 00:00:00 2001 From: Tara Menon Date: Sat, 13 Jun 2026 18:57:14 +0530 Subject: [PATCH] fix(install): info/ok/warn write to stderr --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index b8dd9a2..9ec7ff0 100755 --- a/install.sh +++ b/install.sh @@ -23,9 +23,9 @@ RED='\033[0;31m' CYAN='\033[0;36m' NC='\033[0m' -info() { echo -e "${BLUE}[INFO]${NC} $*"; } -ok() { echo -e "${GREEN}[OK]${NC} $*"; } -warn() { echo -e "${YELLOW}[WARN]${NC} $*"; } +info() { echo -e "${BLUE}[INFO]${NC} $*" >&2; } +ok() { echo -e "${GREEN}[OK]${NC} $*" >&2; } +warn() { echo -e "${YELLOW}[WARN]${NC} $*" >&2; } err() { echo -e "${RED}[ERR]${NC} $*" >&2; exit 1; } banner() { echo -e "${CYAN}"