don't throw away curl output

This commit is contained in:
Johannes Weiß committed 2017-12-15 12:46:13 +00:00
1 parent 0fa0224623
commit 76d9516c84
1 file changed
+1 -1
+1 -1
View File
@@ -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