Silence inotifywait

This commit is contained in:
Manuel Thalmann 2023-03-26 23:41:47 +02:00
parent a8f6db8ba9
commit a31d039a1c

View file

@ -36,7 +36,7 @@ RUN \
mkdir -p --mode=777 /tmp/.X11-unix; \
# Create job for waiting for Xvfb to start
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="$!"; \
while [ -f "$watchStarting" ]; do true; done; \
{ \