Fix false WAITING status in health check for connected containers without stats
This commit is contained in:
@@ -3888,6 +3888,8 @@ health_check() {
|
|||||||
else
|
else
|
||||||
echo -e "${GREEN}OK${NC} (Connected, awaiting peers)"
|
echo -e "${GREEN}OK${NC} (Connected, awaiting peers)"
|
||||||
fi
|
fi
|
||||||
|
elif echo "$hc_logs" | grep -q "\[OK\] Connected to Psiphon network"; then
|
||||||
|
echo -e "${GREEN}OK${NC} (Connected, no stats available)"
|
||||||
else
|
else
|
||||||
local info_lines=0
|
local info_lines=0
|
||||||
if [ -n "$hc_logs" ]; then
|
if [ -n "$hc_logs" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user