Finish the mirror feature. Finish the prototype of zip compress.

This commit is contained in:
zicla
2019-04-28 22:18:42 +08:00
parent a4f28cca30
commit 6e0078e1d8
25 changed files with 800 additions and 128 deletions

View File

@ -116,8 +116,7 @@ func (this *TankLogger) maintain() {
this.Log("删除日志文件 %s", oldDestPath)
//删除文件
exists, err := util.PathExists(oldDestPath)
util.PanicError(err)
exists := util.PathExists(oldDestPath)
if exists {
err = os.Remove(oldDestPath)
if err != nil {