Merge "Turn off tracing around pid/chroot check"

This commit is contained in:
Jenkins 2016-11-21 00:31:49 +00:00 committed by Gerrit Code Review
commit 09cab0fa65
1 changed files with 6 additions and 0 deletions

View File

@ -135,6 +135,10 @@ function eval_run_d () {
}
function kill_chroot_processes () {
local xtrace
xtrace=$(set +o | grep xtrace)
set +o xtrace
if [ -z "${1}" ]; then
echo "ERROR: no chroot directory specified"
exit 1
@ -149,6 +153,8 @@ function kill_chroot_processes () {
sudo kill $pid
fi
done
$xtrace
}
function cleanup_build_dir () {