diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-01 00:07:25 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-01 00:07:25 -0400 |
commit | 91e6db1baed35e2b473504cd2edabcc3f2bcba95 (patch) | |
tree | 05af6a9f6809dac003f926050f3e4ba076822b5b /routers/install.go | |
parent | 67bd2daa022fd2402d7aece4a7b54249fdb2f0f0 (diff) | |
download | gitea-91e6db1baed35e2b473504cd2edabcc3f2bcba95.tar.gz gitea-91e6db1baed35e2b473504cd2edabcc3f2bcba95.zip |
Fix log bug
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go index 28c2d87f71..6bdae2afd5 100644 --- a/routers/install.go +++ b/routers/install.go @@ -6,6 +6,7 @@ package routers import ( "errors" + "fmt" "os" "strings" @@ -42,7 +43,7 @@ func GlobalInit() { if base.InstallLock { if err := models.NewEngine(); err != nil { - log.Error("%v", err) + fmt.Println("%v", err) os.Exit(2) } |