Merge "Turn off tracing around pid/chroot check"
This commit is contained in:
		| @@ -135,6 +135,10 @@ function eval_run_d () { | |||||||
| } | } | ||||||
|  |  | ||||||
| function kill_chroot_processes () { | function kill_chroot_processes () { | ||||||
|  |     local xtrace | ||||||
|  |     xtrace=$(set +o | grep xtrace) | ||||||
|  |     set +o xtrace | ||||||
|  |  | ||||||
|     if [ -z "${1}" ]; then |     if [ -z "${1}" ]; then | ||||||
|         echo "ERROR: no chroot directory specified" |         echo "ERROR: no chroot directory specified" | ||||||
|         exit 1 |         exit 1 | ||||||
| @@ -149,6 +153,8 @@ function kill_chroot_processes () { | |||||||
|             sudo kill $pid |             sudo kill $pid | ||||||
|         fi |         fi | ||||||
|     done |     done | ||||||
|  |  | ||||||
|  |     $xtrace | ||||||
| } | } | ||||||
|  |  | ||||||
| function cleanup_build_dir () { | function cleanup_build_dir () { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jenkins
					Jenkins