diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -175,7 +175,7 @@ func newMacaron() *macaron.Macaron { return m } -func runWeb(ctx *cli.Context) { +func runWeb(ctx *cli.Context) error { if ctx.IsSet("config") { setting.CustomConf = ctx.String("config") } @@ -585,4 +585,6 @@ func runWeb(ctx *cli.Context) { if err != nil { log.Fatal(4, "Fail to start server: %v", err) } + + return nil } |