mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-07 09:26:16 +00:00
The log.Fatal* calls will leak the vpnkit process since defer functions are not invoked when os.Exit(int) is invoked We register an ExitHandler with logrus - that'll be invoke when log.Fatal* is called Signed-off-by: Steve Hiehn <shiehn@pivotal.io> Signed-off-by: Dave Protasowski <dprotaso@gmail.com>