Fix repeating error message in build_and_install.sh

This commit is contained in:
Kyle Neideck 2016-04-14 11:38:52 +10:00
parent 267c5a38e7
commit 1ada18fd16

View file

@ -207,7 +207,7 @@ echo "Launching Background Music."
open "/Applications/Background Music.app"
# Wait up to 5 seconds for Background Music to start.
(while [[ "$(ps -u $(whoami) -o ucomm= | grep 'Background Music')" == "" ]]; do
(while ! (ps -Ao ucomm= | grep 'Background Music' > /dev/null); do
sleep 1;
done) &
show_spinner 5