forked from Silverfish/proton-bridge
fix: don't remove log dir on startup
This commit is contained in:
@ -110,6 +110,7 @@ func (c *Config) ClearOldData() error {
|
||||
fileName := filepath.Base(filePath)
|
||||
return (fileName != c.cacheVersion &&
|
||||
!logFileRgx.MatchString(fileName) &&
|
||||
filePath != c.GetLogDir() &&
|
||||
filePath != c.GetTLSCertPath() &&
|
||||
filePath != c.GetTLSKeyPath() &&
|
||||
filePath != c.GetEventsPath() &&
|
||||
|
||||
Reference in New Issue
Block a user