Trying to modify run.sh so it waits for the Xvfb server to start accepting connections.
This commit is contained in:
parent
15dc14f5b6
commit
fac50c9bc6
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -11,7 +11,7 @@ while [ ${p} -lt 3000 ]
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo The port is ${port}
|
echo The port is ${port}
|
||||||
|
|
||||||
if ${port}; then
|
if ${port}; then
|
||||||
timeout 15 bash -c "until echo > /dev/tcp/localhost/${port}; do sleep 0.5; done"
|
timeout 15 bash -c "until echo > /dev/tcp/localhost/${port}; do sleep 0.5; done"
|
||||||
|
|
Loading…
Reference in a new issue