From 7c682da874bd8ac0f50256e04cbb7e6763f98e9f Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Mon, 17 Sep 2018 00:22:21 +0100 Subject: [PATCH] Correct pkill call --- compile/eclipsebuild/eclipseds5build.gsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compile/eclipsebuild/eclipseds5build.gsh b/compile/eclipsebuild/eclipseds5build.gsh index 2a6fce3..731c6b4 100644 --- a/compile/eclipsebuild/eclipseds5build.gsh +++ b/compile/eclipsebuild/eclipseds5build.gsh @@ -5,10 +5,10 @@ def doKillLeftovers() { # Killing any processes that may interfere with the next build # The build system must be setup to do more than one eclipse build concurrently USER=`whoami` - pgrep -U "${USER}" "eclipse" - pgrep -U "${USER}" "eclipsews" - pgrep -U "${USER}" "make" - pgrep -U "${USER}" "arm-linux" + pgrep -U "${USER}" "eclipse" || true + pgrep -U "${USER}" "eclipsews" || true + pgrep -U "${USER}" "make" || true + pgrep -U "${USER}" "arm-linux" || true # Don't return an error if the processes don't exist pkill -U "${USER}" -9 eclipse || true pkill -U "${USER}" -9 eclipsews || true