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 Aliaksandr Valialkin
parent 56cd2b918a
commit 1b9d82a9e4
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

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