diff options
author | skyblue <ssx205@gmail.com> | 2014-04-07 14:14:43 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-04-07 14:14:43 +0800 |
commit | a92d67fa01983644ccdb3d7bc54993a60d185da5 (patch) | |
tree | 4320d6d7983376ae2e80aa8f721aedd74a5965a0 /routers/install.go | |
parent | 125c87a405a689c37a3f3d0dede23d74c1581a81 (diff) | |
parent | 8c9a0494ecb477a641c07be68a9c0cb8fa661d29 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/routers/install.go b/routers/install.go index 48c1b5e1..1c4e6181 100644 --- a/routers/install.go +++ b/routers/install.go @@ -6,13 +6,13 @@ package routers import ( "errors" - "fmt" "os" "strings" "github.com/Unknwon/goconfig" "github.com/go-martini/martini" "github.com/lunny/xorm" + qlog "github.com/qiniu/log" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" @@ -43,8 +43,7 @@ func GlobalInit() { if base.InstallLock { if err := models.NewEngine(); err != nil { - fmt.Println(err) - os.Exit(2) + qlog.Fatal(err) } models.HasEngine = true |