Remove confusing bug mentions from success messages
Some checks failed
Test / test (push) Has been cancelled

- Changed 'Bug #3 fixed' to 'persistent via symlink' when config is OK
- Changed 'pthread_create fix present' to 'Configured (prevents pthread_create errors)'
- Only mention bugs/fixes in error/warning states, not in success states
- Makes the output clearer and less confusing for users

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Gui-Gos
2026-01-04 12:54:38 +01:00
parent 1eefc857e1
commit 65b9ce6651

View File

@@ -372,9 +372,9 @@ if [ -n "$MANAGER_CONTAINER" ]; then
echo -ne " Main config is symlink: "
if docker exec "$MANAGER_CONTAINER" test -L "$OSSEC_CONF" 2>/dev/null; then
echo -e "${GREEN}✓ YES (Bug #3 fixed)${NC}"
echo -e "${GREEN}✓ YES (persistent via symlink)${NC}"
else
echo -e "${YELLOW}⚠ NO (Bug #3 - config not persistent)${NC}"
echo -e "${YELLOW}⚠ NO (config not persistent - will be lost on restart)${NC}"
fi
else
echo -e "${RED}✗ Manager container not running${NC}"
@@ -449,11 +449,11 @@ if [ -n "$MANAGER_CONTAINER" ]; then
echo -e " ${GREEN} The 4 environment variables above control SSL configuration${NC}"
fi
echo -ne " Seccomp fix for pthread: "
echo -ne " Seccomp configuration: "
if docker exec "$MANAGER_CONTAINER" grep -q "seccomp:" "$FILEBEAT_CONF" 2>/dev/null; then
echo -e "${GREEN}YES (pthread_create fix present)${NC}"
echo -e "${GREEN}Configured (prevents pthread_create errors)${NC}"
else
echo -e "${YELLOW}⚠ NO (may cause pthread_create errors)${NC}"
echo -e "${YELLOW}⚠ Not configured (may cause pthread_create errors)${NC}"
fi
else
echo -e "${RED}✗ NO${NC}"