mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
vmctl: Return non zero error code if validation or subcommand fails (#2462)
This commit is contained in:
parent
45fcaa33e8
commit
f7e4c5a628
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ func main() {
|
||||||
|
|
||||||
err = app.Run(os.Args)
|
err = app.Run(os.Args)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
log.Printf("Total time: %v", time.Since(start))
|
log.Printf("Total time: %v", time.Since(start))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue