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=
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue