mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
tests/run.sh: fix 'waiting for awesome' via pgrep
This commit is contained in:
parent
1e9da0947e
commit
430fe7f710
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue