From 26f32f5ce4173be0e37c6e9807d9e7ce2d34d52a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 13 Aug 2017 11:57:59 +0200 Subject: [PATCH] tests/run.sh: cleanup: wait for process(es) to finish (#1982) Ref: https://github.com/awesomeWM/awesome/pull/1967#issuecomment-321978955 --- tests/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run.sh b/tests/run.sh index 57f0d136e..2a1266e7d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -90,6 +90,7 @@ export XDG_CONFIG_HOME="$build_dir" cleanup() { for p in $awesome_pid $xserver_pid; do kill -TERM "$p" 2>/dev/null || true + wait "$p" done rm -rf "$tmp_files" || true }