mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
don't throw away curl output
This commit is contained in:
1 parent
0fa0224623
commit
76d9516c84
1 file changed
+1
-1
@@ -36,7 +36,7 @@ function start_server() {
|
||||
port=$(server_lsof "$tmp_server_pid" | grep -Eo 'TCP .*:[0-9]+ ' | grep -Eo '[0-9]{4,5} ' | tr -d ' ' || true)
|
||||
echo "port = '$port'"
|
||||
curl_port="$port"
|
||||
if curl "http://localhost:$curl_port/dynamic/pid" > /dev/null 2>&1; then
|
||||
if curl "http://localhost:$curl_port/dynamic/pid"; then
|
||||
worked=true
|
||||
break
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user