From 7826eae452360913b7c9e476566dc30601270c75 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 12 May 2016 14:32:28 -0400 Subject: #3045 fix DEPRECATED Action signature erorr --- cmd/web.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/web.go') diff --git a/cmd/web.go b/cmd/web.go index 1378cc3e..07c64646 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -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 } -- cgit v1.2.3