mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
vmctl: Return non zero error code if validation or subcommand fails (#2462)
This commit is contained in:
parent
45fcaa33e8
commit
f7e4c5a628
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user