1
0
Fork 0

Use fatal instead of plain logging for errors

master
dump_stack() 4 years ago
parent f9963e51a8
commit 721e7d49bf

@ -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)
}
}

Loading…
Cancel
Save