aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-29 21:19:51 -0400
committerUnknwon <u@gogs.io>2015-10-29 21:19:51 -0400
commit102b675f96eb4340c35376ddd33385f4f20ef091 (patch)
treeda82622aff48f8c4627bac35193eff80eda16d3d /routers/install.go
parent073da3c49dce52eb7eebe74cb96d9d726bebff05 (diff)
downloadgitea-102b675f96eb4340c35376ddd33385f4f20ef091.tar.gz
gitea-102b675f96eb4340c35376ddd33385f4f20ef091.zip
remove test code :dizzy_face:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index 38b9830cc4..6fa7c12a13 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -173,7 +173,6 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
ctx.HTML(200, INSTALL)
return
}
- return
if _, err := exec.LookPath("git"); err != nil {
ctx.RenderWithErr(ctx.Tr("install.test_git_failed", err), INSTALL, &form)