mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 17:20:34 +00:00
test(parallels): avoid host Safari substitution
This commit is contained in:
@@ -1230,7 +1230,7 @@ deadline=\$((SECONDS + 20))
|
||||
while [ \$SECONDS -lt \$deadline ]; do
|
||||
# Tahoe can hand dashboard sockets to WebKit helpers even after the Safari
|
||||
# app process exits, so require a non-node client connection rather than a
|
||||
# long-lived `Safari` process specifically.
|
||||
# long-lived Safari process specifically.
|
||||
if lsof -nPiTCP:"\$dashboard_port" -sTCP:ESTABLISHED 2>/dev/null \
|
||||
| awk 'NR > 1 && \$1 != "node" { found = 1 } END { exit found ? 0 : 1 }'; then
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user