From 430fe7f7104140f0b32194e1ede6ccef75ab5370 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 16 Jul 2015 17:05:46 +0200 Subject: [PATCH] tests/run.sh: fix 'waiting for awesome' via pgrep --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index e3a5ef078..ef6f4f2e1 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -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