tests/run.sh: fix 'waiting for awesome' via pgrep

This commit is contained in:
Daniel Hahler 2015-07-16 17:05:46 +02:00
parent 1e9da0947e
commit 430fe7f710

View file

@ -103,7 +103,7 @@ start_awesome() {
awesome_pid=
max_wait=30
while true; do
awesome_pid="$(pgrep -nf "awesome -c $RC_FILE")"
awesome_pid="$(pgrep -nf "awesome -c $RC_FILE" || true)"
if [ -n "$awesome_pid" ]; then
break;
fi