diff options
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 28c2d87f..6bdae2af 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) } |