Fix false WAITING status in health check for connected containers without stats

This commit is contained in:
SamNet-dev
2026-01-29 19:21:56 -06:00
parent 72dee2fb3f
commit 827c8d2e71

View File

@@ -3888,6 +3888,8 @@ health_check() {
else
echo -e "${GREEN}OK${NC} (Connected, awaiting peers)"
fi
elif echo "$hc_logs" | grep -q "\[OK\] Connected to Psiphon network"; then
echo -e "${GREEN}OK${NC} (Connected, no stats available)"
else
local info_lines=0
if [ -n "$hc_logs" ]; then