forked from forgejo/forgejo
Fix bug related to log
This commit is contained in:
parent
794cd27db3
commit
6a16866f4e
4 changed files with 6 additions and 4 deletions
|
@ -288,7 +288,7 @@ func NewConfigContext() {
|
|||
if err != nil {
|
||||
qlog.Fatalf("Fail to get home directory): %v\n", err)
|
||||
}
|
||||
RepoRootPath = Cfg.MustValue("repository", "ROOT", filepath.Join(homeDir, "git/gogs-repositories"))
|
||||
RepoRootPath = Cfg.MustValue("repository", "ROOT", filepath.Join(homeDir, "gogs-repositories"))
|
||||
if err = os.MkdirAll(RepoRootPath, os.ModePerm); err != nil {
|
||||
qlog.Fatalf("Fail to create RepoRootPath(%s): %v\n", RepoRootPath, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue