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
Loading
Please sign in to comment