aboutsummaryrefslogtreecommitdiffstats
path: root/java/androidmk.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-09-23 15:52:40 -0700
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-09-26 19:29:24 +0200
commitb073f3cd7bf3af2e4220a83d2627234bd08315cf (patch)
treefa6c0216d6a30d9e5fd4b352091993836149fde0 /java/androidmk.go
parent9d0376d94d2a29e306929b847e026c1660751465 (diff)
downloadbuild_soong-b073f3cd7bf3af2e4220a83d2627234bd08315cf.tar.gz
build_soong-b073f3cd7bf3af2e4220a83d2627234bd08315cf.tar.bz2
build_soong-b073f3cd7bf3af2e4220a83d2627234bd08315cf.zip
Use ctx.Fatalln instead of log.Fatalln for absolute path errors
log.Fatalln calls os.Exit, which skips deferred functions and leaves the console with the cursor disabled. Use ctx.Fatalln instead, which uses a panic to exit and calls the deferred function to restore the cursor. Test: DIST_DIR=/tmp/\test\ foo m dist Change-Id: Ie92297075e37c171d5ba48848a0ddb19652b051c
Diffstat (limited to 'java/androidmk.go')
0 files changed, 0 insertions, 0 deletions