Correct pkill call
This commit is contained in:
parent
4600814355
commit
36dffd80e6
1 changed files with 4 additions and 4 deletions
|
|
@ -5,10 +5,10 @@ def doKillLeftovers() {
|
||||||
# Killing any processes that may interfere with the next build
|
# Killing any processes that may interfere with the next build
|
||||||
# The build system must be setup to do more than one eclipse build concurrently
|
# The build system must be setup to do more than one eclipse build concurrently
|
||||||
USER=`whoami`
|
USER=`whoami`
|
||||||
pgrep -U "${USER}" "eclipse"
|
pgrep -U "${USER}" "eclipse" || true
|
||||||
pgrep -U "${USER}" "eclipsews"
|
pgrep -U "${USER}" "eclipsews" || true
|
||||||
pgrep -U "${USER}" "make"
|
pgrep -U "${USER}" "make" || true
|
||||||
pgrep -U "${USER}" "arm-linux"
|
pgrep -U "${USER}" "arm-linux" || true
|
||||||
# Don't return an error if the processes don't exist
|
# Don't return an error if the processes don't exist
|
||||||
pkill -U "${USER}" -9 eclipse || true
|
pkill -U "${USER}" -9 eclipse || true
|
||||||
pkill -U "${USER}" -9 eclipsews || true
|
pkill -U "${USER}" -9 eclipsews || true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue