mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix bug related to log
This commit is contained in:
		@@ -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)
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user