1
0

Use fatal instead of plain logging for errors

This commit is contained in:
dump_stack() 2018-11-17 13:28:56 +00:00
parent f9963e51a8
commit 721e7d49bf

View File

@ -528,7 +528,7 @@ func main() {
kcfg, err := readKernelConfig(*kcfgPath)
if err != nil {
return
log.Fatalln(err)
}
switch kingpin.MustParse(app.Parse(os.Args[1:])) {
@ -540,6 +540,6 @@ func main() {
}
if err != nil {
log.Println(err)
log.Fatalln(err)
}
}