mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -151,8 +151,10 @@ func runDump(ctx *cli.Context) error {
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if err := z.AddDir("log", setting.LogRootPath); err != nil {
 | 
			
		||||
		fatal("Failed to include log: %v", err)
 | 
			
		||||
	if com.IsExist(setting.LogRootPath) {
 | 
			
		||||
		if err := z.AddDir("log", setting.LogRootPath); err != nil {
 | 
			
		||||
			fatal("Failed to include log: %v", err)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if err = z.Close(); err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user