aboutsummaryrefslogtreecommitdiff
path: root/routers/install.go
diff options
context:
space:
mode:
authorMeaglith Ma <genedna@gmail.com>2014-04-06 17:28:33 +0800
committerMeaglith Ma <genedna@gmail.com>2014-04-06 17:28:33 +0800
commit2e8d5c2eb36b63468dc78561566975c72eeaaefa (patch)
tree92659a09ec784005c8d9a0540e5197a75b0a3ea9 /routers/install.go
parenta044c24c3db4b18b20406045b40e55ce15f941a0 (diff)
parentef6b9784962d3152d3ec46833303bad72915af57 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index 28c2d87f..032af480 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(err)
os.Exit(2)
}