diff --git a/deploy/installer/deploy.sh b/deploy/installer/deploy.sh index d14a006a..a5888591 100755 --- a/deploy/installer/deploy.sh +++ b/deploy/installer/deploy.sh @@ -159,13 +159,14 @@ if ! command -v cnode &> /dev/null; then exit 1 fi -if ! cnode --help &> /dev/null; then +# Test cnode (allow non-zero exit for --help which exits with 0 normally) +if cnode --help >/dev/null 2>&1; then + echo -e "${GREEN}✓ Installation verified${NC}" +else echo -e "${RED}Error: cnode command failed${NC}" exit 1 fi -echo -e "${GREEN}✓ Installation verified${NC}" - # Success message echo -e "\n${GREEN}╔══════════════════════════════════════════════════════════════╗${NC}" echo -e "${GREEN}║ Installation Complete! ║${NC}"