platform_build_blueprint/bpmodify
Yo Chiang 9342b43c95 bpmodify: fix os.Exit() shouldn't shadow panic()
The `defer func() { os.Exit() }()` in main() method shadows panic().
Make the exit handler recover() from panic(), log the panic(), and then
gracefully exit.

Test: m bpmodify
Change-Id: Icc89f8fce0b6096489baa0ba0f08c21d1ef623bc
2020-03-05 19:45:49 +08:00
..
bpmodify.go bpmodify: fix os.Exit() shouldn't shadow panic() 2020-03-05 19:45:49 +08:00