tests/run.sh: fix 'waiting for awesome' via pgrep
This commit is contained in:
parent
1e9da0947e
commit
430fe7f710
|
@ -103,7 +103,7 @@ start_awesome() {
|
||||||
awesome_pid=
|
awesome_pid=
|
||||||
max_wait=30
|
max_wait=30
|
||||||
while true; do
|
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
|
if [ -n "$awesome_pid" ]; then
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue