summaryrefslogtreecommitdiff
path: root/python/scripts
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-09-23 15:52:40 -0700
committer Colin Cross <ccross@android.com> 2019-09-23 15:55:54 -0700
commit1f6faeb50fb13f1e3e678296ebd238a614682e81 (patch)
tree055a1700ced1509742ee70a115bf76c8352635a7 /python/scripts
parentc0b9f6b9d256ca59faf89b3636d90346c24d674a (diff)
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 'python/scripts')
0 files changed, 0 insertions, 0 deletions