index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
cmd
/
web.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2016-05-12 14:32:28 -0400
committer
Unknwon <u@gogs.io>
2016-05-12 14:32:28 -0400
commit
7826eae452360913b7c9e476566dc30601270c75
(
patch
)
tree
c0062ef2ed630c280fc4919f6d645a1aee87aed6
/
cmd/web.go
parent
8a2347592d78548a54e35a71eb379ae3b8810bc6
(
diff
)
#3045 fix DEPRECATED Action signature erorr
Diffstat
(limited to 'cmd/web.go')
-rw-r--r--
cmd/web.go
4
1 files changed, 3 insertions, 1 deletions
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
}