Skip to content

Commit d7f1844

Browse files
committed
Fix setup check
1 parent bcbc842 commit d7f1844

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎web/public/setup.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ fi
143143
echo "✓ Control plane is reachable"
144144

145145
if [ -n "$LOGS_ENDPOINT" ]; then
146-
LOGS_STATUS=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout 10 "$LOGS_ENDPOINT" 2>/dev/null || echo "000")
147-
if [ "$LOGS_STATUS" = "000" ]; then
146+
if ! curl -s -o /dev/null --connect-timeout 10 "$LOGS_ENDPOINT" 2>/dev/null; then
148147
error "Cannot reach logs endpoint at $LOGS_ENDPOINT. Please check the URL and your network connection."
149148
fi
150149
echo "✓ Logs endpoint is reachable"

0 commit comments

Comments
 (0)