Fix bug related to log

This commit is contained in:
Unknown 2014-04-06 13:54:48 -04:00
commit db1fe3483e
2 changed files with 2 additions and 3 deletions

View file

@ -45,7 +45,7 @@ func newUpdateLogger(execDir string) {
// for command: ./gogs update
func runUpdate(c *cli.Context) {
execDir, _ := base.ExecDir()
newLogger(execDir)
newUpdateLogger(execDir)
base.NewConfigContext()
models.LoadModelsConfig()