Check unhandled errors (#128)

This commit is contained in:
Matthias Loibl 2016-11-10 11:02:01 +01:00 committed by Andrey Nering
parent 24d7bae2b2
commit 31da225309
2 changed files with 16 additions and 4 deletions

View file

@ -8,6 +8,7 @@
package main
import (
"log"
"os"
"runtime"
@ -38,5 +39,5 @@ func main() {
cmd.CmdAdmin,
}
app.Flags = append(app.Flags, []cli.Flag{}...)
app.Run(os.Args)
log.Fatal(app.Run(os.Args))
}