commit:     151b14d68f31c86b08f8a99a1d6c01793562623e
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 10:02:33 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 10:02:33 2016 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=151b14d6

tools-systemd: do parallel runs of amd64 and i686

 tools-systemd/run-systemd.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools-systemd/run-systemd.sh b/tools-systemd/run-systemd.sh
index abf901e..064700f 100755
--- a/tools-systemd/run-systemd.sh
+++ b/tools-systemd/run-systemd.sh
@@ -40,8 +40,10 @@ main() {
   # The parallelization `( do_stages ... ) &` doesn't work here
   # if catalyst is using snapcache, bug #519656
   for arch in amd64 i686; do
-    do_stages ${arch}
-    [[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
+    (
+      do_stages ${arch}
+      [[ $? == 1 ]] && echo "FAILURE at ${arch}" | tee zzz.log
+    ) &
   done
 }
 

Reply via email to