1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Suppress kill output

This commit is contained in:
Nicola Corna 2018-01-10 09:42:37 +01:00
parent 8ea3313409
commit f5d5ba5d5b

@ -298,7 +298,7 @@ for branch in $BRANCH_NAME; do
if [ -f "$TMP_DIR/merged/prebuilts/sdk/tools/jack-admin" ]; then
"$TMP_DIR/merged/prebuilts/sdk/tools/jack-admin kill-server" > /dev/null 2>&1 || true
fi
lsof | grep "$TMP_DIR/merged" | awk '{ print $2 }' | xargs -r kill
lsof | grep "$TMP_DIR/merged" | awk '{ print $2 }' | sort -u | xargs -r kill > /dev/null 2>&1
while [ ! -z "$(lsof | grep $TMP_DIR/merged)" ]; do
sleep 1