Silence inotifywait
This commit is contained in:
parent
4854242d7d
commit
7e77f901d2
|
@ -12,7 +12,7 @@ mkdir -p --mode=777 /tmp/.X11-unix;
|
|||
|
||||
# Create a 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="$!";
|
||||
|
||||
# Wait for `inotifywait` to start
|
||||
|
|
Loading…
Reference in a new issue