diff options
| author | 2019-09-23 15:52:40 -0700 | |
|---|---|---|
| committer | 2019-09-23 15:55:54 -0700 | |
| commit | 1f6faeb50fb13f1e3e678296ebd238a614682e81 (patch) | |
| tree | 055a1700ced1509742ee70a115bf76c8352635a7 /python/python.go | |
| parent | c0b9f6b9d256ca59faf89b3636d90346c24d674a (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/python.go')
0 files changed, 0 insertions, 0 deletions