Silence inotifywait
This commit is contained in:
parent
a8f6db8ba9
commit
a31d039a1c
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ RUN \
|
||||||
mkdir -p --mode=777 /tmp/.X11-unix; \
|
mkdir -p --mode=777 /tmp/.X11-unix; \
|
||||||
# Create job for waiting for Xvfb to start
|
# Create job for waiting for Xvfb to start
|
||||||
watchStarting="$(mktemp)"; \
|
watchStarting="$(mktemp)"; \
|
||||||
{ 2>&1 inotifywait -e create /tmp/.X11-unix/; } | { sed -u -e "/^Watches established.\$/e rm \"$watchStarting\""; } & \
|
{ 2>&1 inotifywait -e create /tmp/.X11-unix/ > /dev/null; } | { sed -u -e "/^Watches established.\$/e rm \"$watchStarting\""; } & \
|
||||||
displayResolver="$!"; \
|
displayResolver="$!"; \
|
||||||
while [ -f "$watchStarting" ]; do true; done; \
|
while [ -f "$watchStarting" ]; do true; done; \
|
||||||
{ \
|
{ \
|
||||||
|
|
Loading…
Reference in a new issue