vmctl: Return non zero error code if validation or subcommand fails (#2462)

This commit is contained in:
Dmytro Kozlov 2022-04-13 12:52:55 +03:00 committed by GitHub
parent 45fcaa33e8
commit f7e4c5a628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ func main() {
err = app.Run(os.Args)
if err != nil {
log.Println(err)
log.Fatalln(err)
}
log.Printf("Total time: %v", time.Since(start))
}