Skip to content

Commit 6470e3c

Browse files
authored
install script err fix (#4)
1 parent 2516203 commit 6470e3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ YELLOW='\033[1;33m'
1212
NC='\033[0m' # No Color
1313

1414
info() {
15-
printf "${GREEN}[INFO]${NC} %s\n" "$1"
15+
printf "${GREEN}[INFO]${NC} %s\n" "$1" >&2
1616
}
1717

1818
warn() {
19-
printf "${YELLOW}[WARN]${NC} %s\n" "$1"
19+
printf "${YELLOW}[WARN]${NC} %s\n" "$1" >&2
2020
}
2121

2222
error() {
23-
printf "${RED}[ERROR]${NC} %s\n" "$1"
23+
printf "${RED}[ERROR]${NC} %s\n" "$1" >&2
2424
exit 1
2525
}
2626

0 commit comments

Comments
 (0)